Boost logo

Boost Users :

Subject: [Boost-users] [Beast] Problems in getting started with Beast
From: Sharklaser Lasershark (150vrw_at_[hidden])
Date: 2017-11-11 20:04:21


Hello!

I'm migrating a project from libcurl to Beast. I'm trying to compile
http_client_async.cpp
<https://github.com/boostorg/beast/blob/develop/example/http/client/async/http_client_async.cpp>,
but 110 errors come from "file_win32.ipp" and "file_win32.hpp", mostly
missing declarations and members. I'm using Visual Studio 2017 (warning
level 4). Here is what I have done:

1. Downloaded and set up boost 1.65.1 according to the "getting started"
tutorial
<http://www.boost.org/doc/libs/1_65_1/more/getting_started/windows.html>
       - Built all binaries
       - Verified header only example and binary-dependent example
2. Downloaded beast/include/boost
<https://github.com/boostorg/beast/tree/develop/include/boost> from GitHub
and moved the folder and .hpp to
       - C:\Program Files\boost\boost_1_65_1\boost
3. Started an empty project and pasted in the http_client_async.cpp
<https://github.com/boostorg/beast/blob/develop/example/http/client/async/http_client_async.cpp>
 example.

I have spent too many days trying to get this up and running. Any help
would be greatly appreciated!

Kind regards



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net