kablammyman
Still Fresh
- Joined
- Jun 10, 2006
- Messages
- 20
Sorry to bother you guys...but this allegro problem is pissing me off.
I am using the version of Dev-c++ that comes with the GP2X SDK made just for the gp2x. It is automatically configured for the gp2x and SDL. I was finally able to compile the demo SDL code and run it on my gp2x AND in windows.
I want to use allegro also, so, I downloaded allegro for the gp2x (v0.3). I unzip it, and place the files in the corresponding folders.
In Dev-C++, I went to Project->Project options->parameters tab and in the linker I put:
After that, I went to tools -> compiler options and in the box that says "add the following commands when calling the compiler" I inserted
After doing that, I try to compile and I get this error:
I have the "gp2x-allegro-config" file in my bin AND i copied it to the working directory...so I know its there, but why doesnt the compiler see it?
Please help...I am frustrated with this whole process...I just want to make some games.
thanx
I am using the version of Dev-c++ that comes with the GP2X SDK made just for the gp2x. It is automatically configured for the gp2x and SDL. I was finally able to compile the demo SDL code and run it on my gp2x AND in windows.
I want to use allegro also, so, I downloaded allegro for the gp2x (v0.3). I unzip it, and place the files in the corresponding folders.
In Dev-C++, I went to Project->Project options->parameters tab and in the linker I put:
Code:
C:\GP2XSDK\lib\liballeg.a
-lpthread
-static
After that, I went to tools -> compiler options and in the box that says "add the following commands when calling the compiler" I inserted
Code:
-O2 -Wall -Werror -g `gp2x-allegro-config --cflags debug`
After doing that, I try to compile and I get this error:
C:\GP2XSDK\demo\g++ `gp2x-allegro-config: No such file or directory.
cc1plus C:\GP2XSDK\demo\cc1plus unrecognized command line option "-fcflags`"
C:\GP2XSDK\demo\Makefile.gp2x [Build Error] [gp2x/exhello.o] Error 1
I have the "gp2x-allegro-config" file in my bin AND i copied it to the working directory...so I know its there, but why doesnt the compiler see it?
Please help...I am frustrated with this whole process...I just want to make some games.
thanx