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 

can we get the precompiled SDL Lib file ?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
caviar



Joined: 29 Sep 2005
Posts: 6

PostPosted: Tue Dec 27, 2005 9:20 am    Post subject: can we get the precompiled SDL Lib file ? Reply with quote

Hello,

I am a newbie and I tried many times on my computer to setup the PSPDSK with Cygwin to be able to compile the SDL Library.

Unfortunately, I was not able to compile it properly.
(bad directory settings, I supposed)
I am sure that I am not the only one to get the same problem

So, is it possible for somebody to supply us the Pre compiled Lib SDL file ?

Thanks in advance

Caviar
Back to top
View user's profile Send private message
urchin



Joined: 02 Jun 2005
Posts: 121

PostPosted: Tue Dec 27, 2005 7:20 pm    Post subject: Reply with quote

What error did you get? I had to change the build script slightly to get it to build, but I'm not using a totally up to date version of the SDK, so I don't know if that's just me.
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Tue Dec 27, 2005 8:48 pm    Post subject: Reply with quote

1) Go download Cygwin
2) install Toolchain
3) install trunk. go to /usr/local/pspdev/psp/sdk/ and type svn co svn://svn.ps2dev.org/psp/trunk
3) go to trunk/SDL
4) Read README.TXT
5) Type
Code:
./autogen.sh
LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --prefix=`psp-config --psp-prefix`
make
make install

6) type ../test/SDL/
7) type make
8) load eboot file into psp
9) Enjoy ^_^
_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
Duo



Joined: 21 Oct 2005
Posts: 25

PostPosted: Wed Dec 28, 2005 3:30 am    Post subject: Reply with quote

I had a lot of problems with cygwin, too. Try devkitpro. I got sdl compiled fine, but can't get sdl_image or sdl_mixer because of zlib problems, I think. When I get these, I'll put everything up on my site with a tutorial or something.
Back to top
View user's profile Send private message
urchin



Joined: 02 Jun 2005
Posts: 121

PostPosted: Wed Dec 28, 2005 6:46 am    Post subject: Reply with quote

I got it working using the same process as Thanda. I had to add "-lpspuser" to the libraries (I was getting a link error, something ending in "Param"). This might be fixed in more recent versions - I'm not sure.
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Wed Dec 28, 2005 9:57 am    Post subject: Reply with quote

i got the most up todate revision, so its probably an older build error.
_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
urchin



Joined: 02 Jun 2005
Posts: 121

PostPosted: Sat Dec 31, 2005 1:30 am    Post subject: Reply with quote

Yeah, I've just tried it with the latest version of the toolchain and it built with no problems. No changes are necessary to the instructions listed in the SDL readme.psp
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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