Skip to content

cpp-netlib 0.12.0 build error with visual studio 2015 and boost 1.60 #648

@zengxs

Description

@zengxs

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions