pyenet icon indicating copy to clipboard operation
pyenet copied to clipboard

Windows compilation instructions

Open NotAFile opened this issue 7 years ago • 3 comments

I am unable to get pyenet to compile under windows due to linking errors. Some instructions would be greatly appreciated.

NotAFile avatar Sep 13 '17 13:09 NotAFile

I don't know/use Windows, so you might need to figure this out on your own or maybe someone with Windows experience could help.

aresch avatar Sep 13 '17 16:09 aresch

Me neither, but some of our users do, unfortunately.

NotAFile avatar Sep 13 '17 16:09 NotAFile

The following command works beautifully for windows with mingw installed.

python setup.py build_ext --library-dirs enet/ -lws2_32 -D MS_WIN64 -cmingw32

it says mingw32, but it actually makes a 64bit binary like it's supposed to.

NotAFile avatar Sep 13 '17 19:09 NotAFile