我已经按照以下命令安装了Boost库:
boost_1_67_0.7z
文件bootstrap.bat gcc
b2 install --prefix=c:/Boost toolset=gcc
然后,我打开了CLion(最新版本),并尝试在find_package(Boost)
的程序中包含boost库,但这对我不起作用。我在这里做错了还是有其他问题?
我也想说CMake whereis Boost通过命令安装
set(BOOST_ROOT C:/Boost/include/boost-1_67)
然后CMake可以detect Boost,但是它不想编译,因为它可以
can't find任何文件,例如boost/thread.hpp
。