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 

Compiling ps2sdk + sdl environment

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



Joined: 18 Aug 2004
Posts: 3

PostPosted: Fri Dec 28, 2007 2:47 am    Post subject: Compiling ps2sdk + sdl environment Reply with quote

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:
--- 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:
--- 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!
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Dec 29, 2007 6:23 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Apr 13, 2008 8:34 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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