Page 1 of 1

Compiling ps2sdk + sdl environment

Posted: Fri Dec 28, 2007 2:47 am
by Geijer
Hi,

I just recently started to look at ps2sdk and sdl and have some thoughts, I use svn.ps2dev.org/ps2 stuff on linux (Debian 4.0 Etch):

* Do there exist any documents about dependencies between projects?

* It took some time for me until I found out that you need to prepend the elf-filename by host: to get ps2client to work, maybe that should be included in the readme as an example or something?

* sdl seems to depend on ps2/trunk/libjpg but I could not compile it but changed to ps2/trunk/ps2sdk-ports/libjpeg that I could compile, and made this change:

Code: Select all

--- src/Makefile        (revision 1460)
+++ src/Makefile        (arbetskopia)
@@ -131,7 +131,7 @@
        $(PS2SDK)/ee/lib/libkbd.a       \
        $(PS2SDK)/ee/lib/libmouse.a     \
        $(PS2SDK)/ee/lib/libaudsrv.a    \
-       $(PS2SDK)/ports/lib/libjpg.a    \
+       $(PS2SDK)/ports/lib/libjpeg.a    \
        $(PS2DEV)/gsKit/lib/libdmakit.a \
        $(PS2DEV)/gsKit/lib/libgskit.a
Which is preferred? libjpg or libjpeg?

* Coul not get libpng to compile before I made this change:

Code: Select all

--- makefile    (revision 1460)
+++ makefile    (arbetskopia)
@@ -30,7 +30,7 @@


 all: $(EE_LIB) $(EE_BIN)
-       @ECHO ".LIBPNG Built."
+       @echo ".LIBPNG Built."


 pngtest: $(EE_BIN)
* ps2/trunk/libtiff is missing "make install" (libtiff is required by sdlimage by default), do you want me to fix it?

* Who is "responsible" for the sdl-port if I find anything that I want to discuss?

This is the start, I will probably come back with more questions later :)

BTW, thanks all for your effort on PS2SDK and stuff!

Posted: Sat Dec 29, 2007 6:23 am
by jimparis
I don't have any specific answers (not familiar with ps2 sdl), but I think any additional documentation or improvements you have would be welcome; you can talk to oobles about getting commit access to the svn server or post patches here and someone can commit them.

Posted: Sun Apr 13, 2008 8:34 am
by J.F.
libtiff still doesn't have an install target. The lib itself is pretty obvious, but not so obvious are which h files to copy.

EDIT: Also, that echo issue still hasn't been handled.