Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
找不到以下静态Boost库:Boost\u线程_Boost_Cmake_Cgal - Fatal编程技术网

找不到以下静态Boost库:Boost\u线程

找不到以下静态Boost库:Boost\u线程,boost,cmake,cgal,Boost,Cmake,Cgal,我正在编译Boost库,以便与CGAL一起使用, 我遵循以下指南: 运行后->\bootstrap 那么,-> .\b2 link=static,shared threading=single,multi variant=debug,release 我停止使用cmake编译CGAL,它显示以下错误: Could not find the following static Boost libraries: boost_thread cmake截图 Cmake错误日志 请

我正在编译Boost库,以便与CGAL一起使用, 我遵循以下指南:

运行后->
\bootstrap

那么,->

.\b2 link=static,shared threading=single,multi variant=debug,release
我停止使用cmake编译CGAL,它显示以下错误:

Could not find the following static Boost libraries:
          boost_thread
cmake截图

Cmake错误日志

请注意:boost\u 1\u 67\u 0\stage\lib文件夹包含除“libboost\u线程”库文件之外的所有requires.lib文件


谢谢你的帮助,谢谢

您使用的是什么编译器?Microsoft visual studio 2013如果您不需要自己构建Boost,我会从Boost官方二进制repos
https://sourceforge.net/projects/boost/files/boost-binaries/1.67.0/boost_1_67_0-msvc-12.0-64.exe
https://sourceforge.net/projects/boost/files/boost-binaries/1.67.0/boost_1_67_0-msvc-12.0-32.exe
如果我运行了,请尝试。构建Boost以后可以很容易地进行分类。但是,使用cmake编译cgal时需要使用Boost库,如屏幕截图所示。这是唯一的Boost,而不是cgal。预编译的Boost包包含完整的Boost安装,包括所有库、源和头文件!如果你建立了自我激励,你不应该得到任何其他东西。