I am trying to use TBB in eclipse ide c++. I installed the TBB
by
sudo apt-get update
sudo apt-get install libtbb-dev
Now when I try to build the code, i get the following error
make all
Building target: AlignmentUnordParallel26_02_18
Invoking: Cross G++ Linker
g++ -std=c++17 -static -L/home/ahussain/boost_1_65_1/stage/lib -o "AlignmentUnordParallel26_02_18" ./TBB.o ./parallel_index.o -lboost_serialization -ltbb
/usr/bin/ld: cannot find -ltbb
makefile:44: recipe for target 'AlignmentUnordParallel26_02_18' failed
collect2: error: ld returned 1 exit status
make: *** [AlignmentUnordParallel26_02_18] Error 1
Saying that it could not find -ltbb. What is going wrong?