nomacs is a free, open source image viewer, which supports multiple platforms. You can use it for viewing all common image formats including RAW and psd images. nomacs is licensed under the GNU General Public License v3 and available for Windows, Linux, FreeBSD, Mac, and OS/2.
QtSDK or the compiled sources (>= 5.2.1)- expat (needed for exiv2)
- Exiv2 (>= 0.26)
- OpenCV (>= 3.4) optional
- LibRaw (>= 0.17) optional
- QuaZip (>= 0.7.6) optional
Python(>= 3.6) for build scripts
- only needed if ENABLE_RAW is checked
- clone libraw
- checkout to the latest
0.XX-stablebranch - follow the build instructions
- in the nomacs
CMakeUserPaths.cmake, add the build path to${CMAKE_PREFIX_PATH}
- copy
CMakeUserPathsGit.cmakeand rename it toCMakeUserPaths.cmake - add your library paths to the
${CMAKE_PREFIX_PATH}inCMakeUserPaths.cmake - Open CMake GUI
- set your ImageLounge folder to
where is the source code - choose a build folder (i.e.
build2017-x64) - Hit
ConfigurethenGenerate - Open the Project
- Right-click the nomacs project and choose
Set as StartUp Project - Compile the Solution
- check if you have setup opencv (otherwise uncheck ENABLE_OPENCV)
- check if your Qt is set correctly (otherwise set the path to
qt_install_dir/qtbase/bin/qmake.exe) - check if your builds proceeded correctly
Get the required packages:
sudo apt-get install debhelper cdbs qt5-qmake qttools5-dev-tools qt5-default qttools5-dev libqt5svg5-dev qt5-image-formats-plugins libexiv2-dev libraw-dev libopencv-dev cmake libtiff-dev libquazip5-dev libwebp-dev git build-essential lcov libzip-devGet the nomacs sources from github:
git clone https://github.com/nomacs/nomacs.gitThis will by default place the source into ~/nomacs
Go to the nomacs/ImageLounge directory and run cmake to get the Makefiles:
mkdir build
cd build
cmake -DUSE_SYSTEM_QUAZIP=ON ..Compile nomacs:
makeYou will now have a binary (~/nomacs/build/nomacs), which you can test (or use directly). To install it to /usr/local/bin, use:
sudo make installnote that you have to execute
sudo ldconfigon your own after a successfully install
- Set
ENABLE_TRANSLATIONStotrue(default:false) - Build all officially supported plugins
Install Homebrew for easier installation of dependencies. Install required dependencies:
$ brew install qt5 exiv2 opencv libraw quazip cmake pkg-configGo to the nomacs directory and run cmake to get the Makefiles:
$ mkdir build
$ cd build
$ Qt5_DIR=/usr/local/opt/qt5/ cmake -DQT_QMAKE_EXECUTABLE=/usr/local/opt/qt5/bin ../ImageLounge/.Run make:
$ makeYou will now have a binary (nomacs.app), which you can test (or use directly). To install it to /usr/local/bin, use
$ sudo make install