You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Gosu, check this out. You'll also need
a working installation of Ruby, Git and CMake.
Building Gosu
Get the source code from the releases page then extract it on some place. And run the following commands there:
mkdir buildcd buildcmake ..make
Note the generated libgosu.so and ffi/libgosu-ffi.so, we'll need them later.
Building The Wrapper
Get the source code from the releases page and extract it, on the vendor directory, create another directory there named gosu, and put both the .sos and the ffi directory of Gosu there. Then proceed to build the project as usual.
mkdir buildcd buildcmake ..make
And that's it!
Distributing
Since we can't expect every person to ever run the compiled binary to have Gosu installed on their system, we'll need to bundle the .so files with the binary, so just grab them from the vendor/gosu directory and put them with your binary. Simple as that.