-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Build from source Error: TBB not found. #6297
Comments
Ran into the same issue, it seems they are migrating to Conan package manager instead of Mason. You could use the last Mason commit until the docs are updated, that one works for me :) Hope someone confirms this, possibly supplying Conan instructions, as my attempt building with it failed. |
Hmm even |
Could you elaborate here? What exactly are you doing and have issues? |
4e8ee28 appears to have successfully built, no reported memory usage issues, thank you. The |
@handcath did you reinstall OSRM before it with |
I'm sorry for hijacking this issue, but could you try running osrm-extract after building 4e8ee28 In particular, I've tried extracting Geofabrik's United States, Midwest and New York just to make sure it wasn't a ram issue, but still failed even on New York, which is not that big of a map (I'm using 128 gb ram on Ubuntu). I've tried it on macOS Monterey 12.4 and Ubuntu 22.04, having the same result. The process keeps on allocating more memory, and after filling all ram and swap just terminates with "Killed." message. I'm building it using Mason. |
Okay, will try to look in the nearest days. Btw |
here are the commands I ran on macOS 12.3: then to compile the example.cpp file:
|
Example has its own CMakeLists.txt. Try smth like:
instead of manually calling g++ |
@SiarheiFedartsou, thank you. However, memory usage as reported by @nitko12 is an issue when building new osrm file. NB: I cannot use old(er) osrm files as this is 5.27, which cannot run osrm files built on 5.26. |
~Weird, just tried to run it against england-latest.osm.pbf and it finished for me successfully. With peak RAM usage ~5.5GB. Reproduced. |
The only pbf files I can successfully 'osrm-extract' are very small ones, e.g. Andorra with is 2.2MB in size... |
Please, see fix in #6304, but we probably need someone with write access to the repo to merge it in master 🤔 |
Hi,
Trying to build 5.26 on Mac OS and Ubuntu 22.04. I am getting the following error (on max os or ubuntu 22.04) when running cmake ..
The old fix (#6253) to build OSRM with the -DENABLE_MASON=ON does not work.
ERROR: Intel TBB NOT found!
-- Looked for Threading Building Blocks in /Library/Frameworks/Intel_TBB.framework/Versions
CMake Error at cmake/FindTBB.cmake:274 (message):
Could NOT find TBB library.
Call Stack (most recent call first):
CMakeLists.txt:518 (find_package)
The text was updated successfully, but these errors were encountered: