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

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

Open
achour-oussama opened this issue Apr 19, 2023 · 0 comments
Open

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

achour-oussama opened this issue Apr 19, 2023 · 0 comments

Comments

@achour-oussama
Copy link

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.

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

1 participant