在eclipse中找不到-ltbb版本:Neon.3发布(4.6.3)

时间:2018-03-05 05:44:57

标签: c++ tbb

我试图在eclipse ide c ++中使用TBB。我按

安装了TBB
sudo apt-get update
sudo apt-get install libtbb-dev

现在,当我尝试构建代码时,我收到以下错误

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

说它无法找到-ltbb。出了什么问题?

0 个答案:

没有答案