Skip to content

Cannot open include file: 'getopt.h' with CMake #15

Description

@achour-oussama

Hello everyone, here is my issue:

I am trying to build the library with cmake --build on Windows but I get this error: “Cannot open include file: ‘getopt.h’”. So my first question is whether it is possible to install the library on Windows and if so, what am I doing wrong? I tried to add the .h file myself (a variant at least) but it didn’t solve the issue.

The second question is when I looked at the nghttp documentation, I saw that previously the library was directly included but it was removed and deposited here with an older version. Could I make it work directly from nghttp?

Also, I installed nghttp with vcpkg. The asio_client.h and other files are included in the buildtrees/src directory while nghttp.h and nghttpser.h are in the buildtrees/lib/include directory. So these files do exist when I install vcpkg. How could I use them?

Thank you for your help and support.

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