smistad/OpenCL-Gaussian-Blur

CMake Not doing its thing (As Usual)

Opened this issue · 0 comments

Hi There,

read you tutorial. Cloned it as per your description.

Everything works fine until (as always) one comes to have to use CMake.
Then it doesn't work. I have been having CMake on they computer for 4 years (as backup when people provide examples using that) and it always results in the same -> Not working.
Amazing that a software can be so bad.

Anyway, given the fact that you took all the time to make this fine example, I thought I'd take the time and write to you and let you know that CMake as always is ruining the party.

Here is the errors, in case you can make anything of them.
If you really need folks to learn from your tutorials - make sure to not use CMake.

-- The C compiler identification is AppleClang 9.0.0.9000038
-- The CXX compiler identification is AppleClang 9.0.0.9000038
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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)
-- Compiling SIPL with GTK
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
/Applications/CMake.app/Contents/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/Applications/CMake.app/Contents/share/cmake-3.10/Modules/FindPkgConfig.cmake:36 (find_package_handle_standard_args)
SIPL/CMakeLists.txt:22 (find_package)

-- Configuring incomplete, errors occurred!