|
Compile game with allegro not installed |
cecco4
Member #15,659
June 2014
|
Hi, as i write on the title i'm wondering if it's possible to compile an allegro 5 game on a linux machine without allegro installed. |
Arthur Kalliokoski
Second in Command
February 2005
|
SSH into somebody else's box and ftp the executable? They all watch too much MSNBC... they get ideas. |
cecco4
Member #15,659
June 2014
|
That is a pretty intricate method, does i need to have another running computer with allegro installed and make a static compilation? |
Thomas Fjellstrom
Member #476
June 2000
|
You would have to include the allegro headers along with the libraries in order to compile code that uses allegro. -- |
cecco4
Member #15,659
June 2014
|
I tried to put all the allegro headers, lib and compile with: on my pc no problem, but i think the compilator is still using the installed one, so i don't know if this would work on another pc. |
Thomas Fjellstrom
Member #476
June 2000
|
Try it on another computer. Or in a virtual machine. -- |
cecco4
Member #15,659
June 2014
|
For the include step no problem, also linking the allegro lib look ok; /usr/bin/ld: warning: libdumb.so.1, needed by ../lib/liballegro_acodec.so, not found (try using -rpath or -rpath-link) i tried to add libdumb.so.1 and libopenal.so.1 in the lib folder but is like i cant copy it. |
Gideon Weems
Member #3,925
October 2003
|
cecco4
Member #15,659
June 2014
|
I successfully copied the 2 lib in the game folder, i don't know why ubuntu didn't let me copy the library but with the virtualbox pc i was able to do that. thank you, guys. edit: i think that the library are compiled for a different version of c. |
|