forked from glynos/cpp-netlib
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Description
I'm sorry for my English.
my environment:
- windows 10 th2 10586.218 x64
- visual studio community 2015 update2
- boost 1.60
- cpp-netlib-0.12.0-final
I build boost with this command in x86 native mode:
b2 install --prefix=C:\Users\Samuel\Desktop\builds\target --toolset=msvc --without-python link=static runtime-link=shared debug release
and I generate cpp-netlib.sln
with this cmake command:
mkdir cpn-build
cd cpn-build
cmake ..\cpp-netlib-0.12.0-final -G "Visual Studio 14" -DBOOST_ROOT=C:\Users\Samuel\Desktop\builds\target
and then, I tried to build cpp-netlib in visual studio.
But, in build project cppnetlib-server-parsers
, vs2015 tips:
C:\Users\Samuel\Desktop\builds\target\include\boost-1_60\boost/type_traits/is_const.hpp(37): error C2872: “true_type”: ambiguous symbol
and build failed eventually.
Am I build it in wrong way? How can I build it correctly?
snap9 and Maktm