topfreegames / libpitaya

a client sdk for pitaya game server framework
MIT License
67 stars 39 forks source link

How can I compile a windows-based DLL dynamic link library on macos? #12

Open arden opened 5 years ago

arden commented 5 years ago

How can I compile a windows-based DLL dynamic link library on macos?

felipejfc commented 5 years ago

We hadn't tried it ourselves, my guess is that you'll run into a hard time setting up a cross-compile capable environment for doing so on a mac... Here at TFG we are using windows machines to build the windows libs, so my suggestion is that you use a windows machine and take a look at the "Building For Windows" part of the README, here https://github.com/topfreegames/libpitaya#building-for-windows

leohahn commented 5 years ago

Like Felipe said currently we build the binaries on a Windows machine. We will look into making releases here on Github as well, therefore people will not need to rebuild the lib for every platform.

You can for the time being get a .dll version in the folder unity/PitayaExample/Assets/Pitaya/Native.