TBB_tbb_LIBRARY_DEBUG-NOT FOUND

问题描述 投票:0回答:1

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

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 /

我无法弄清楚解决方案

c++ linux ubuntu tbb
1个回答
0
投票

我能够解决这个问题。 TBB的路径将在CMake文件中更改。关于格式应该是什么的指令在同一文件中给出。

谢谢。

© www.soinside.com 2019 - 2024. All rights reserved.