c-koi / gmic-qt

G'MIC-Qt is a versatile front-end to the image processing framework G'MIC.
GNU General Public License v3.0
207 stars 54 forks source link

fatal error: 'libgimp/gimp.h' file not found #70

Open SergioHdzReyes opened 5 years ago

SergioHdzReyes commented 5 years ago

Hi, I'm compiling the source code in Mac OS Sierra and I get the following error:

cmake .. -DGMIC_QT_HOST=gimp -DGMIC_PATH=/Users/sergiohernandez/CLionProjects/gmic/src/ -DCMAKE_BUILD_TYPE=Release

-- Using CMake version: 3.14.3 Building for target host application: gimp G'MIC path: /Users/sergiohernandez/CLionProjects/gmic/src/ Found G'MIC repository Found /Users/sergiohernandez/CLionProjects/gmic/src//CImg.h Found /Users/sergiohernandez/CLionProjects/gmic/src//gmic_stdlib.h CImg version is [262] G'MIC version is [262] -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.8") -- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.37") -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.2") -- Found FFTW3 -- FFTW Found Version: -- Found CURL: /opt/local/lib/libcurl.dylib (found version "7.64.1")
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND) Release build -- The following OPTIONAL packages have been found:

-- The following REQUIRED packages have been found:

-- The following OPTIONAL packages have not been found:

-- Configuring done -- Generating done -- Build files have been written to: /Users/sergiohernandez/CLionProjects/gmic-qt/build

make [ 96%] Building CXX object CMakeFiles/gmic_gimp_qt.dir/src/Host/Gimp/host_gimp.cpp.o /Users/sergiohernandez/CLionProjects/gmic-qt/src/Host/Gimp/host_gimp.cpp:25:10: fatal error: 'libgimp/gimp.h' file not found

include <libgimp/gimp.h>

     ^~~~~~~~~~~~~~~~

1 error generated. make[2]: [CMakeFiles/gmic_gimp_qt.dir/src/Host/Gimp/host_gimp.cpp.o] Error 1 make[1]: [CMakeFiles/gmic_gimp_qt.dir/all] Error 2 make: *** [all] Error 2

Can you help me to solve this? thanks.

jtojnar commented 2 years ago

How did you install gimp? You need to have its development files installed. If you used homebrew that probably will not work, since that only seems to install binary files.