norlab-ulaval / libnabo

A fast K Nearest Neighbor library for low-dimensional spaces
http://norlab-ulaval.github.io/libnabo/
BSD 3-Clause "New" or "Revised" License
431 stars 142 forks source link

I can find mingw-32-libgomp in MinGW Installation Manager, but CMake fails to work #93

Open SupingZ opened 5 years ago

SupingZ commented 5 years ago

The C compiler identification is GNU 6.3.0 The CXX compiler identification is GNU 6.3.0 Check for working C compiler: C:/MinGW/bin/gcc.exe Check for working C compiler: C:/MinGW/bin/gcc.exe -- 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: C:/MinGW/bin/g++.exe Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done The Fortran compiler identification is GNU 6.3.0 Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe Check for working Fortran compiler: C:/MinGW/bin/gfortran.exe -- works Detecting Fortran compiler ABI info Detecting Fortran compiler ABI info - done Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90 Checking whether C:/MinGW/bin/gfortran.exe supports Fortran 90 -- yes Build Type: Release C-Flags: -O3 -DNDEBUG | CXX-Flags: -O3 -DNDEBUG Fortran-Flags: -O5 -DNDEBUG -m64 Found PkgConfig: C:/MinGW/bin/pkg-config.exe (found version "0.26") Checking for module 'pthread' No package 'pthread' found Found pthread pthread_LIBRARIES = C:/MinGW/lib/libpthread.dll.a uuid not required Checking for module 'gomp' No package 'gomp' found gomp_INCLUDE_DIR=gomp_INCLUDE_DIR-NOTFOUND gomp_LIBRARY=C:/MinGW/lib/libgomp.dll CMake Error at cmake/modules/LibFindMacros.cmake:74 (message): Required library gomp NOT FOUND.

Install the library (dev version) and try again. If the library is already installed, use ccmake to set the missing variables manually. Call Stack (most recent call first): cmake/modules/Findgomp.cmake:40 (libfind_process) src/CMakeLists.txt:25 (find_package)

Configuring incomplete, errors occurred! See also "C:/Software Installation/build/CMakeFiles/CMakeOutput.log".

SupingZ commented 5 years ago

image

HannesSommer commented 5 years ago

Please consider turning off openmp usage by setting the cmake variable USE_OPEN_MP to off (see https://github.com/ethz-asl/libnabo/blob/master/CMakeLists.txt#L87). It can very well be that you don't need it.

SupingZ commented 5 years ago

Thanks for your kind help. The problem is now solved.