Skip to content

diemmarkus/nomacs-plugins

 
 

Repository files navigation

nomacs - Plugins

This repository contains officially supported plugins for the image viewer nomacs.

Build Status

Building on Windows

Prerequisites

  • CMake
  • IDE (i.e. Visual Studio)
  • nomacs
  • OpenCV (>= 3.4) optional
  • Qt SDK or the compiled sources (>= 5.2.1)

Building Plugins (Windows)

  1. Build nomacs
  2. Open CMake GUI
  3. set the plugin repository's root folder containing CMakeLists.txt to where is the source code
  4. choose a build folder
  5. Set OpenCV_DIR, QT_MAKE_EXECUTABLE, and nomacs_DIR
    • Copy CMakeUserPathsGit.cmake and rename it to CMakeUserPaths.cmake
    • Set all paths to your own builds of nomacs etc.
  6. Hit Configure then Generate
  7. You will find a nomacs-plugins.sln which builds all plugins and dedicated plugin projects in the respective folders (e.g. PaintPlugin/paintPlugin.sln)
  8. 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

Build Plugins (Ubuntu)

Build nomacs

Since you need to reference the nomacs resources from the nomacs-plugins directory, specify the nomacs paths in
nomacs-plugins/CMakeUserPaths.cmake:
- Copy CMakeUserPathsGit.cmake and rename it to CMakeUserPaths.cmake
- Set all paths to your own builds of nomacs etc.

In the nomacs-plugins directory run cmake to get the Makefiles:

cmake .

Compile Plugins:

make

This will build all the Plugins set to 'ON' in nomacs-plugins/CMakeLists.txt and create a plugins directory in nomacs/ImageLounge. Running ./nomacs from the nomacs/ImageLounge directory should now list all the built Plugins in the Plugins tab.

Links

About

3dparty plugins for nomacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 61.7%
  • C 34.7%
  • CMake 2.8%
  • Python 0.8%