-
Notifications
You must be signed in to change notification settings - Fork 824
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
Can I compile libh2o under windows #1304
Comments
There is a fair amount of work involved to port it cleanly to native WIN32. I spent a few afternoons on it to get a feel for it. That said I believe it builds in Cygwin... |
I try to complie libh2o using mingw. but gnulib-tool can't support cmake.I failed to import <sys/socket.h> ... to the project under windows. |
I just built libh2o via CYGWIN. There is only a minor change required:
|
I tried building the complete server today - it worked. Now I can use h2o on Windows. I think this should be submitted in a pull request. |
This thread is now more than 3 years old. h2o has changed since then and the current sources no longer build or work as-is on MingW (if they ever did). I made a patch for h2o while porting Urbit to Windows that the h2o project might be interested in. Its scope is limited to what I needed for Urbit: only the libuv variant is built, and no fastcgi or memcached support. The biggest change by line count is caused by libuv /cc @kazuho |
@locpyl-tidnyd This patch doesn't apply on current h2o; could you rebase on current master and submit it as a pull request? |
Sure. |
That was rather more work than I expected, but here it is: #2720 It shouldn't break anything outside MingW or require extra effort maintaining it beyond using the new |
No description provided.
The text was updated successfully, but these errors were encountered: