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

Wrong referencies to Boost Asio #772

Open
alexiicon opened this issue Nov 6, 2018 · 3 comments
Open

Wrong referencies to Boost Asio #772

alexiicon opened this issue Nov 6, 2018 · 3 comments

Comments

@alexiicon
Copy link

Hi, All

I'm trying to include simple version of websocketspp server.
And it looks like it refers to wrong place.

Here is make output:

Profile:
g++ -Wall -std=c++11 -fPIC -g -I/home/alex/cex/Utils/rapidjson/include -I/home/alex/cex/Utils/cppkafka/include -I/home/alex/cex/Utils/plog/include -I/home/alex/cex/Utils/gmp-6.1.2 -I./src/le -I/home/alex/include -o build/dev/objects/src/webSockets.o -c src/webSockets.cpp
In file included from /usr/local/include/websocketpp/transport/asio/base.hpp:31:0,
from /usr/local/include/websocketpp/transport/asio/connection.hpp:31,
from /usr/local/include/websocketpp/transport/asio/endpoint.hpp:32,
from /usr/local/include/websocketpp/config/asio_no_tls.hpp:32,
from src/webSockets.cpp:11:
/usr/local/include/websocketpp/common/asio.hpp:46:14: fatal error: asio/version.hpp: No such file or directory
#include <asio/version.hpp>
^~~~~~~~~~~~~~~~~~

Boost lib by default installed into /usr/include/boost, so from my point of view it should be #include <boost/asio/version.hpp>

@bradfordcp
Copy link

I just hit this issue as well with Fedora 33.

@bradfordcp
Copy link

If anyone else hits this issue make sure you clone the repo with the --recursive flag set. Skipping this argument will not download the dependency libraries. If you already have a local checkout run the following commands in the root of the repo to pull down the appropriate dependencies.

git submodule init
git submodule update --recursive

@innerNULL
Copy link

If anyone else hits this issue make sure you clone the repo with the --recursive flag set. Skipping this argument will not download the dependency libraries. If you already have a local checkout run the following commands in the root of the repo to pull down the appropriate dependencies.

git submodule init
git submodule update --recursive

@bradfordcp Hi, I met this problem, but the question is, it seems there are not any submodule in this respository?

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

3 participants