forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem : Dev-C++ & SDL

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
DrDummy



Joined: 24 Oct 2005
Posts: 2

PostPosted: Thu Oct 27, 2005 6:13 pm    Post subject: Problem : Dev-C++ & SDL Reply with quote

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
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Fri Oct 28, 2005 1:52 am    Post subject: Reply with quote

This was just answered in a thread called SDL_image yesterday. Did you bother to look? Locked for redundancy.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Oct 28, 2005 2:34 am    Post subject: Reply with quote

Which can be found here:

http://forums.ps2dev.org/viewtopic.php?t=3925
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group