beast
beast copied to clipboard
[help] Installing beast using git submodules
Hi, I'm really new to c++ and trying to install and use beast by adding it to my project as a git submodule.
My problem is that VisualStudio only finds boost::beast
but not boost::beast::http
from this example: https://github.com/boostorg/beast/blob/710cc53331f197f6f17e8c38454c09df68e43c03/example/websocket/server/sync/websocket_server_sync.cpp#L16-L29
I've included the hpp files like so:
where /libraries/beast
is the beast submodule and same goes for asio and code.
The error VS gives me:
What exactly am I doing wrong that VS does find boost::beast
but not boost::beast::http
?
Boost (including beast) should be installed either the supplied b2 tool. The Cmake script is there for maintenance use at the moment. Cmake support for installing boost is in the pipeline but currently not part of the supported user experience. @pdimov
You haven't included <boost/beast/http.hpp>
.
Including <boost/beast/http.hpp>
still gives an error.
This issue has been open for a while with no activity, has it been resolved?
@Nitwel we'd need the error to help you. Since it's been over a year, I assume you figured it out by now. If not please reopen the issue.