Skip to content

nghttp2/nghttp2.h: No such file or directory #2054

Closed
@anteph

Description

@anteph

Hi,

I'm trying to do some experiments with HTTP2 but I'm running into some troubles. From what I've been reading, we can use nghttp2, which is already included in IDF, for HTTP2 requests.

Nonetheless, I cannot seem to include the lib in the Arduino code. I've already pulled the latest version of the Arduino core and NGHTTP2 is indeed present in tools/sdk/includes.

I'm trying to include the lib pretty much like is done on the asio_http2.h file, with no luck so far:
#include <nghttp2/nghttp2.h>

It's probably something silly, but I really cannot make it work.

Additionally, if I try to include the nghttp2/asio_http2_client.h (I haven't yet analyzed in detail but seems to be a wrapper that maybe will be handy?) I also get an error in this include:

fatal error: boost/system/error_code.hpp: No such file or directory

Thank you very much,
Nuno Santos

Hardware:

Board: ESP32 Dev Module
Core Installation/update date: 13/11/2018
IDE name: Arduino IDE v1.8.5
Computer OS: Windows 8.1

Sketch:

#include <nghttp2/nghttp2.h>

void setup() {}

  
void loop() {}

Metadata

Metadata

Assignees

No one assigned

    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