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

tbb/parallel_pipeline.h: No such file or directory #6497

Closed
TandelJainika opened this issue Dec 27, 2022 · 4 comments
Closed

tbb/parallel_pipeline.h: No such file or directory #6497

TandelJainika opened this issue Dec 27, 2022 · 4 comments
Labels

Comments

@TandelJainika
Copy link

Hello everyone,
Currently I am trying to install OSRM routing service on Ubuntu machine. But while running cmake --build . command I am getting the following error.
/osrm/osrm-backend/src/extractor/edge_based_graph_factory.cpp:35:10: fatal error: tbb/parallel_pipeline.h: No such file or directory
35 | #include <tbb/parallel_pipeline.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/EXTRACTOR.dir/build.make:90: CMakeFiles/EXTRACTOR.dir/src/extractor/edge_based_graph_factory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:236: CMakeFiles/EXTRACTOR.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

I have installed the latest version of libtbb library.
libtbb-dev - 2020.1-2

Try to install OSRM on Ubuntu 20.04
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal

@datendelphin
Copy link

Three possibilities:

@mvl22
Copy link

mvl22 commented Jan 12, 2023

Just ran into this also :(

The patch against the 5.27.1 release does compile fine:

wget -O patch-6497-fix-tbbparallelpipeline.patch https://patch-diff.githubusercontent.com/raw/Project-OSRM/osrm-backend/pull/6493.patch
patch -p1 < patch-6497-fix-tbbparallelpipeline.patch

@VDU8
Copy link

VDU8 commented Jan 24, 2024

Just ran into this also :(

The patch against the 5.27.1 release does compile fine:

wget -O patch-6497-fix-tbbparallelpipeline.patch https://patch-diff.githubusercontent.com/raw/Project-OSRM/osrm-backend/pull/6493.patch
patch -p1 < patch-6497-fix-tbbparallelpipeline.patch

Hi thank you for this, I am in build directory after cloning the osrm-backend I created a directory build and in that on performing the commands
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

I am getting the error posted above, after that I tried using your commands in the same build directory I am getting this error:

1

I am new to this so help would be appreciated

@scherbatsky-jr
Copy link

You have to fetch the patch inside the osrm-backend directory and run the patch there.

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

No branches or pull requests

6 participants