在其中一个代码中,在执行过程中,我确实
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".这告诉我,(第29行) TBB在至少一个必需的库或其包含路径丢失时被认为是找不到的。如果没有指定TBB_FIND_COMPONENTS,则只需要线程库"tbb“。
此外,我不认为BB_tbb_LIBRARY_DEBUG (高级)类似于以下路径:
/usr/lib/x86_64-linux-gnu/
我想不出解决办法
发布于 2018-06-25 02:22:36
我解决了这个问题。TBB的路径将在CMake文件中更改。关于格式的说明在同一个文件中给出。
谢谢。
https://stackoverflow.com/questions/50710510
复制相似问题