This repository contains officially supported plugins for the image viewer nomacs. You can find additional (unstable) plugins here.
- CMake
- IDE (i.e. Visual Studio)
- nomacs
- OpenCV (>= 3.4) optional
QtSDK or the compiled sources (>= 5.2.1)
- Build nomacs
- Open CMake GUI
- set the plugin repository's root folder containing CMakeLists.txt to
where is the source code - choose a build folder
- Set OpenCV_DIR, QT_MAKE_EXECUTABLE, and nomacs_DIR
- Copy
CMakeUserPathsGit.cmakeand rename it toCMakeUserPaths.cmake - Set all paths to your own builds of nomacs etc.
- Copy
- Hit
ConfigurethenGenerate - You will find a nomacs-plugins.sln which builds all plugins and dedicated plugin projects in the respective folders (e.g. PaintPlugin/paintPlugin.sln)
- Tip: Go to Plugin > Properties > Configuration Properties > Debugging and set the Command to your nomacs path (e.g. C:/nomacs/build2015-x64/Debug/nomacs.exe) to better debug your plugin
- Clone nomacs
- cd to
nomacs/ImageLounge - clone this repository into
plugins:
git clone https://github.com/nomacs/nomacs-plugins.git plugins
- in
ImageLoungecreate a folderbuildand run cmake:
mkdir build
cd build
cmake -DENABLE_PLUGINS=ON ..
- then build the project:
make
This will build all the Plugins set to 'ON' in nomacs-plugins/CMakeLists.txt. Running ./nomacs from the nomacs/ImageLounge directory should now list all the built Plugins in the Plugins tab.