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

Windows build for nghttp2 supported? #184

Closed
remoe opened this issue Mar 27, 2015 · 8 comments
Closed

Windows build for nghttp2 supported? #184

remoe opened this issue Mar 27, 2015 · 8 comments

Comments

@remoe
Copy link
Contributor

remoe commented Mar 27, 2015

I've tried to build curl with nghttp2 on windows x64:

nghttp2/nghttp2#195

Currently, it's not really possible to build CURL with nghttp2 support without build modifications?

And I don't know what are the "official" way to build CURL for windows:

  • nmake /f Makefile.vc mode=dll ...
  • SLN files in projects folder
  • cmake

?

Thanks

@remoe remoe changed the title Windows build for nghttp2 supported Windows build for nghttp2 supported? Mar 27, 2015
@bagder
Copy link
Member

bagder commented Mar 27, 2015

They're all official but yeah at some point we will reduce the number of options. The nmake versions in the root dir is probably the one most likely to get ditched first.

Otherwise we're a bit short on people working on windows and I'm not sure anyone has built http2 support with MSVC previously. Feel free to use your own preferred method and add http2 support to it!

@remoe
Copy link
Contributor Author

remoe commented Mar 27, 2015

ok, thanks for this explanation.

@remoe remoe closed this as completed Mar 27, 2015
@TDannhauer
Copy link
Contributor

Hmm sad, it's still not possible to build curl with nghttp2 on windows.

@bagder
Copy link
Member

bagder commented Oct 10, 2016

It is still very much possible as lots of people already do it since a long time back. I assume you're talking about lack of support in some specific build files? If so, we do welcome patches and help to fix remaining problems.

@TDannhauer
Copy link
Contributor

sorry, I meant out of the box.

Cmake warns to be poorly maintained and failed in configuring
winbuild does not support an out-of -the -switch build.
installing cygwin or MinGW is not an option.

So what is the preferred way to compile curl with http2 using MSVC?

@bagder
Copy link
Member

bagder commented Oct 10, 2016

cmake support for nghttp2 builds is discussed in #922

I think most people who build curl with nghttp2 on windows use msys/mingw, but I'm not sure. I'm not on windows myself.

So again: it works for some build setups, just not all. And possibly not the one you want to use.

@TDannhauer
Copy link
Contributor

TDannhauer commented Oct 10, 2016

OK thanks,
Then I readjust my statement to : "It's sad that it is still not possible to build curl with http2 support out of the box using MSVC with the latest stable release" ;)

Curl is not my main focus so I can't invest lots of time to integrate http2 support in windows. So I will ship curl with http 1 support only.

Anyway: Good work and very clean project structure when buijlding curl form sources. Great job!
Thanks,
Torben

@remoe
Copy link
Contributor Author

remoe commented Oct 10, 2016

@bagder i never use a msys/mingw environment for a real windows build :)
My branch #922 should be ready for another test.

@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants