| View previous topic :: View next topic |
| Author |
Message |
DrDummy
Joined: 24 Oct 2005 Posts: 2
|
Posted: Thu Oct 27, 2005 6:13 pm Post subject: Problem : Dev-C++ & SDL |
|
|
Using Dev - C++ 4.9.9.2 on WinXP
Installed devkitPro (latest)
then installed SDL/SDL_image and all required packages (jpeg,zip,...) via Dev - C++ Tools->Update
Got all .h files in C:/Development/Dev-Cpp/include/SDL and I can see the lib files in C:/Development/Dev-Cpp/lib ...
however, I get this error message when I try to compile my program.
| Code: | $ make
psp-gcc -IC:/Development/Dev-Cpp/include/SDL -I. -IC:/devkitPro/devkitPSP/psp/sdk/include -O2 -G0 -Wall -LC:/Development/Dev-Cpp/lib -L. -LC:/devkitPro/devkitPSP/psp/sdk/lib main.o -lpspgu -lSDLmain -lSDL -lSDL_image -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspuser -lpspkernel -o sdktest.elf
main.o: In function `xmain':
main.c:(.text+0x1d0): undefined reference to `SDL_RWFromFile'
main.c:(.text+0x1dc): undefined reference to `SDL_LoadBMP_RW'
make: *** [sdktest.elf] Error 1 |
can anyone help me ? it is so darm hard to setup the development env.
Thanks |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Fri Oct 28, 2005 1:52 am Post subject: |
|
|
| This was just answered in a thread called SDL_image yesterday. Did you bother to look? Locked for redundancy. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
|
| Back to top |
|
 |
|