-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
undefined reference to symbol 'omp_get_max_threads@@OMP_1.0' during make on Debian "jessie" #1420
Comments
I just got pretty much the same error on Centos 7 with current master
I managed to fix this by adding the following line to CMakeLists.txt
|
try the latest code from develop branch. it should already contain a fix for this issue |
Thanks for the quick response! Not being a developer I cowardly preferred stable "v4.5.0" ;-) But after checking out "develop" I was able to run "make" successfully. The essential changes during my effort were these:
Building on this branch I did not need to edit any files. Greetings, |
Im trying to build current "osrm-backend" - cloned on 2015-03-19 - on Debian "jessie".
During make it comes to this error message:
I found issues #977, #1361 and #1373 which make me think, the problem should already be solved. But currently the error still occurs on my development system.
Inspired by the issues mentioned, I found a workaround by editing "CMakeLists.txt". I added "target_link_libraries(osrm-extract gomp)" to a certain paragraph. It looks like this:
After that "make" and "make install" successfully finish as expected. I have to admit, that I actually don't know, what this change by me really does or if it has unwanted side-effects. It seems to work for me. But it would be nice, if someone understanding the problem, could repair this.
Thanks and greetings,
rebos
The text was updated successfully, but these errors were encountered: