TBB_tbb_LIBRARY_DEBUG-NOT FOUND

时间:2018-06-05 23:59:26

标签: c++ linux ubuntu tbb

在其中一个代码中,在实施过程中,我做了

cmake..

但我收到错误:

username@ubuntu:~/folder/build$ cmake ..
FINALLL TBB_LIBRARIES = 'optimized;/usr/lib/x86_64-linux-gnu/libtbb.so;debug;TBB_tbb_LIBRARY_DEBUG-NOTFOUND'
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
TBB_tbb_LIBRARY_DEBUG (ADVANCED)
    linked by target "DSKCFcpp" in directory /home/srishti/realtimeKCF

-- Configuring incomplete, errors occurred!
See also "/home/username/realtimeKCF/build/CMakeFiles/CMakeOutput.log".

This告诉我(第29行)当至少缺少一个必需的库或其包含路径时,认为找不到TBB。如果没有指定TBB_FIND_COMPONENTS,则只有线程库" tbb"是必需的。

此外,我没有像以下路径那样看到BB_tbb_LIBRARY_DEBUG(ADVANCED):

  

/ usr / lib中/ x86_64的-Linux的GNU /

我无法找出解决方案

1 个答案:

答案 0 :(得分:0)

我能够解决这个问题。 TBB的路径将在CMake文件中更改。在同一文件中给出了有关格式的说明。

谢谢。