【发布时间】:2013-12-30 01:37:03
【问题描述】:
我尝试在安装了 MSVC 12 以及最新的 cmake 和 git 的 win 8.1 上的 MSys git bash 中执行此操作:
$> git clone https://github.com/cpp-netlib/cpp-netlib.git
$> cd cpp-netlib
$> git submodules update --init
$> cd deps
## here I unzip the boost folder into boost
## i.e. cpp-netlib/deps/boost/ contains bjam, bootstrap and the boost include dir
$> cd boost && bootstrap.bat && ./b2.exe
$> cd ../ && mkdir build && cd build
$> cmake -G"Visual Studio 12" -DBOOST_ROOT="../deps/boost" ../
这失败了:请我设置 BOOST_ROOT。
这有什么问题?
感谢您的帮助
【问题讨论】:
-
Running
cmake . -DBoost_DEBUG=ON应该会输出一堆关于 CMake 如何尝试查找提升的调试信息。如果这不能明确答案,您能否将该输出添加到您的问题中,以及一个已构建的 boost 库的路径和名称示例?
标签: git visual-c++ boost cmake cpp-netlib