|
Cross-Compiling Allegro 5 library on Linux for Windows |
iheartcoffee
Member #16,518
August 2016
|
I found an article about cross-compiling Allegro on Linux for Windows here
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
That guide is a little out dated. I've never cross compiled before but it should be as simple as installing the target compiler and cmake and building as usual. Note here is my guide for building on Windows : You'll want to install mingw-w64, not mingw, as it comes with DX headers prepared for you. I'll play around in my Ubuntu VM and see what I can come up with. You'll want to install either 'g++-mingw-w64-i686' or 'g++-mingw-w64-x86-64' depending on your target architecture. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
iheartcoffee
Member #16,518
August 2016
|
Thanks, let me know how it compiles
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
I should warn you I've never cross compiled before, so no promises of results.... My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
alemart
Member #10,658
February 2009
|
I have written an Allegro 5 cross-compiling guide for Open Surge. It may be of help: http://opensnc.sourceforge.net/wiki/index.php/Compiling_the_Source_Code |
gusnan
Member #11,822
April 2010
|
Alexandre Martins said: I have written an Allegro 5 cross-compiling guide for Open Surge. It may be of help: http://opensnc.sourceforge.net/wiki/index.php/Compiling_the_Source_Code Thanks - that is really useful - However I ran into a problem on my Debian 10 when cross-building openal, which can be fixed with the following patch to openal: https://github.com/microsoft/vcpkg/commit/3baf583934f3077070e9ed4e7684f743ecced577 (Just thought I should mention it, if anybody else runs into it). |
|