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: Select all
$ 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
Thanks