我尝试在安装了 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。
这有什么问题?
谢谢您的帮助