| View previous topic :: View next topic |
| Author |
Message |
caviar
Joined: 29 Sep 2005 Posts: 6
|
Posted: Tue Dec 27, 2005 9:20 am Post subject: can we get the precompiled SDL Lib file ? |
|
|
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 |
|
 |
urchin
Joined: 02 Jun 2005 Posts: 121
|
Posted: Tue Dec 27, 2005 7:20 pm Post subject: |
|
|
| 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 |
|
 |
Thanhda

Joined: 09 Apr 2005 Posts: 331 Location: Canada
|
Posted: Tue Dec 27, 2005 8:48 pm Post subject: |
|
|
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 |
|
 |
Duo
Joined: 21 Oct 2005 Posts: 25
|
Posted: Wed Dec 28, 2005 3:30 am Post subject: |
|
|
| 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 |
|
 |
urchin
Joined: 02 Jun 2005 Posts: 121
|
Posted: Wed Dec 28, 2005 6:46 am Post subject: |
|
|
| 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 |
|
 |
Thanhda

Joined: 09 Apr 2005 Posts: 331 Location: Canada
|
Posted: Wed Dec 28, 2005 9:57 am Post subject: |
|
|
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 |
|
 |
urchin
Joined: 02 Jun 2005 Posts: 121
|
Posted: Sat Dec 31, 2005 1:30 am Post subject: |
|
|
| 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 |
|
 |
|