Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SupingZ opened this issue Sep 25, 2018 · 3 comments

Comments

@SupingZ
Copy link

SupingZ commented Sep 25, 2018

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
Copy link
Author

SupingZ commented Sep 25, 2018

image

@HannesSommer
Copy link
Collaborator

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
Copy link
Author

SupingZ commented Sep 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants