-
Notifications
You must be signed in to change notification settings - Fork 0
Home
bggd edited this page Jan 21, 2016
·
24 revisions
- Add Joystick module
sudo apt-get install liballegro5-dev
download binary from https://www.allegro.cc/files or http://targonski.nazwa.pl/thedmd/allegro
Edit your build_config.rb
conf.gem :github => 'bggd/mruby-minigame'
Build mruby.
ruby ./minirake
Edit your build_config.rb
conf.gem :github => 'bggd/mruby-minigame' do |g|
g.cc.include_paths << 'path to allegro 5 include folder'
g.linker.library_paths << 'path to allegro 5 lib folder'
g.linker.libraries << 'allegro-5.0.10-monolith-md'
end
Build mruby.
ruby minirake
Make sure the allegro 5 dll are added in bin folder.