GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Error Compiling cpp-netlib · Issue #618 · cpp-netlib/cpp-netlib

Error Compiling cpp-netlib #618

New issue
Copy link
New issue
Copy link
Closed
Closed
Error Compiling cpp-netlib#618
Copy link
Assignees
deanberris

Description

@Bardo91
Bardo91
opened on Mar 16, 2016
Issue body actions

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?

Activity

  1. augustjd commented on Mar 26, 2016

    @augustjd
    augustjd
    on Mar 26, 2016
    More actions

    Just compiled against boost 1.60, so that's not your problem.

  2. luciantodor commented on Mar 26, 2016

    @luciantodor
    luciantodor
    on Mar 26, 2016
    More actions

    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.

  3. augustjd commented on Mar 26, 2016

    @augustjd
    augustjd
    on Mar 26, 2016
    More actions

    The same. 0.11.2-final.
    On Mar 26, 2016 9:42 AM, "Lucian Todor" [email protected] wrote:

    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

  4. Bardo91 commented on Mar 27, 2016

    @Bardo91
    Bardo91
    on Mar 27, 2016
    Author
    More actions

    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?

  5. deanberris commented on Mar 29, 2016

    @deanberris
    deanberris
    on Mar 29, 2016
    Member
    More actions

    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:

    git submodule init
    git submodule update
    

    Or, if you're cloning from scratch, you might want to recursively deal with the submodules in a single command. Like:

    git clone --recursively https://github.com/cpp-netlib/cpp-netlib
    
  6. deanberris
    self-assigned this
    on Mar 29, 2016
  7. glynos
    closed this as completedin #621on Mar 29, 2016
  8. Wuodan commented on May 23, 2018

    @Wuodan
    Wuodan
    on May 23, 2018
    More actions

    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.

    Reacted by Hannah Schultz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @deanberris
    deanberris

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.