You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to compile the library but I got this error (among others similar from the same include folder):
fatal error: asio/ip/tcp.hpp: No such file or directory
#include <asio/ip/tcp.hpp>
I check, and I've boost properly installed and is in the default place. Also I check that I've that file, but it is like the include sentence needs a "boost/" before it. But I think that it is a really obvious thing to be an undetected error. What am I doing wrong? I've Boost 1.60, could that be the reason?
Hi. I have used stable version of cpp-netlib 0.11.2-final and it was ok to compile. Because I intend to test and use a newer version, I'm curious, what version are you using?
Thanks.
Hi. I have used stable version of cpp-netlib 0.11.2-final and it was ok
to compile. Because I intend to test and use a newer version, I'm curious,
what version are you using?
Thanks.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
I had the same error using the release 0.12.0.tar.gz from github.
No problem with the tar.gz from http://downloads.cpp-netlib.org/. fatal error: asio/ip/tcp.hpp: No such file or directory #include <asio/ip/tcp.hpp>
The tar.gz from github also had a different folder name after unpacking than the one from cpp-netlib.org.
Release 0.11.1 was not affected by these 2 phenomenas.
Activity
augustjd commentedon Mar 26, 2016
Just compiled against boost 1.60, so that's not your problem.
luciantodor commentedon Mar 26, 2016
Hi. I have used stable version of cpp-netlib 0.11.2-final and it was ok to compile. Because I intend to test and use a newer version, I'm curious, what version are you using?
Thanks.
augustjd commentedon Mar 26, 2016
The same. 0.11.2-final.
On Mar 26, 2016 9:42 AM, "Lucian Todor" notifications@github.com wrote:
Bardo91 commentedon Mar 27, 2016
Hi, I just cloned the git repository and compiled it from there. So I assume is the latest code. Could it be the reason so?
deanberris commentedon Mar 29, 2016
Yes, this is the reason. I don't think we updated the README for building from git yet, so let me fix that soon. In short you're going to need to:
Or, if you're cloning from scratch, you might want to recursively deal with the submodules in a single command. Like:
Wuodan commentedon May 23, 2018
I had the same error using the release 0.12.0.tar.gz from github.
No problem with the tar.gz from http://downloads.cpp-netlib.org/.
fatal error: asio/ip/tcp.hpp: No such file or directory #include <asio/ip/tcp.hpp>The tar.gz from github also had a different folder name after unpacking than the one from cpp-netlib.org.
Release 0.11.1 was not affected by these 2 phenomenas.