Closed Boscop closed 6 years ago
I think these are the same errors as #5?
So far I only get this error when trying to build on Windows.
Opened a pull request (#9) that adds derive_debug(false) option to the bindgen options (default is true).
Enet requires winmm.lib to be linked on windows: #8
With both of these patches I was able to get a successful build with nightly-gnu toolchain in MSYS2 environment with mingw-w64-x86_64-clang
and mingw-w64-x86_64-cmake
installed.
@spearman Thanks. The handwritten bindings also used to work with rustc-msvc for me, and I have to use msvc because of the other libs I have to link to.. Does your PR work with msvc, too? :)
@spearman Thanks. The handwritten bindings also used to work with rustc-msvc for me, and I have to use msvc because of the other libs I have to link to.. Does your PR work with msvc, too? :)
No, at least not with my current environment I get errors: https://gist.github.com/spearman/51c724fe56fefc7da166292d6a2b5563
I was able to build enet manually using autoreconf + make, and gcc though, so maybe there is a way around it.
PR merged, thanks @spearman .