![]() |
|
allegro dev-cpp and gp2x |
KaBlammyman
Member #455
June 2000
![]() |
Hi, I just got a gp2x, and I wanted to port my allegro games for it. I downloaded the "official sdk" which comes with its own version of dev-cpp just for the gp2x.:D However, its only setup for SDL...i want to use the allegro port George Foot made. I tried emailing George, but he hasnt answered yet (probably a really busy man)I also tried getting help at the gp2x board, but its not that great a board compared to this one Anyway, most people don't have this system, so I dont know if I can get help here, but I was hoping someone would know how to configure dev-cpp-for-gp2x to compile with allegro games. I tried using George Foot's directions for the command line with dev-cpp, but i didn't get it right. I don't want to use the command line either...so I would really appreciate the help so I can port my games asap. Thanx in advance.
|
Evert
Member #794
November 2000
![]() |
I think the SVN version of Allegro 4.2 will work out of the box, but I don't know that anyone has actually tried it. |
KaBlammyman
Member #455
June 2000
![]() |
Hey, I got it to work! I got it to work by making sure that dev-cpp found programs that were from the normal dev-cpp setup (make, gdb and windres) by actually going thru the directory in the programs tab, even though the wiki says they are "No equivalent" Then I had to delete any *.o files i made when trying to compile stuff from the past. Finially, in project -> project options, then parameters tab (NOT tools ->compilier options !!!) -O2 -Wall -Werror -g `gp2x-allegro-config --cflags debug` and I put the following in the linker: C:\Dev-Cpp\devkitGP2X\lib\liballeg.a -static -lpthread Then I made sure I was NOT using teh default compilier, but the gp2x one i set up. and bingo-bango, it worked.
|
|