在其中一个代码中,在实现过程中,我做了
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/
我想不出解决办法
最佳答案
我能够解决这个问题。 TBB 的路径将在 CMake 文件中更改。关于格式应该是什么的说明在同一文件中给出。
谢谢。
关于c++ - TBB_tbb_LIBRARY_DEBUG-未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50710510/