Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpp-netlib-0.12.0-final compile failed with VS2010 and BOOST 1.58 #669

Open
PennieZh opened this issue Jun 24, 2016 · 0 comments
Open

cpp-netlib-0.12.0-final compile failed with VS2010 and BOOST 1.58 #669

PennieZh opened this issue Jun 24, 2016 · 0 comments

Comments

@PennieZh
Copy link

Hi,

I use cmake command:

  cmake -DCMAKE_BUILD_TYPE=Debug \
  -DCMAKE_C_COMPILER=gcc   \
  -DCMAKE_CXX_COMPILER=g++ \
  ../cpp-netlib \
 -G "Visual Studio 10 Win64"

and build solution in VS2010, got errors like
Error 588 error C1083: Cannot open include file: 'future': No such file or directory D:\data\cpp-netlib-0.12.0-final\cpp-netlib-0.12.0-final\boost\network\protocol\http\message\async_message.hpp 12 1 atom_reader Error 593 error C2253: 'basic_message<Tag>' : pure specifier or abstract override specifier only allowed on virtual function D:\data\cpp-netlib-0.12.0-final\cpp-netlib-0.12.0-final\boost\network\message.hpp 38 1 atom_reader

I checked C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include, there is no file "future"; but I checked my another machine which has VS2012 installed, it has the file "future" under C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include.

Is there any way that I can compile with my VS2010?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant