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 

Installing SDL...

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



Joined: 12 Nov 2005
Posts: 42

PostPosted: Tue May 30, 2006 2:32 am    Post subject: Installing SDL... Reply with quote

Alright,
ive looked all over and I just cant find a good tutorial on how to install SDL. I know in order to get all the components of SDL installed you have to install it in the right order with the right set up and everything... If there is a tutorial I may have missed please direct me there, or if youd rather just inform me that would be great too!

thanks!
Back to top
View user's profile Send private message Yahoo Messenger
Ghozt



Joined: 13 Mar 2006
Posts: 34

PostPosted: Tue May 30, 2006 4:28 am    Post subject: Re: Installing SDL... Reply with quote

psiko_scweek wrote:
Alright,
ive looked all over and I just cant find a good tutorial on how to install SDL. I know in order to get all the components of SDL installed you have to install it in the right order with the right set up and everything... If there is a tutorial I may have missed please direct me there, or if youd rather just inform me that would be great too!

thanks!


1. Start cygwin
2. type "svn co svn://svn.pspdev.org/psp/trunk/SDL" (without the "". Then you should change SDL to the stuff you want to download aswell, eg. sdl_mixer, sdl_image etc.)
3. Browse to your newly downloaded dir (eg. SDL)
4. Install it like every other library (check the readme.psp file if it needs special treatment)
Done!
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue May 30, 2006 12:05 pm    Post subject: Reply with quote

it is advised to read the README.PSP

There are special instructions required
Back to top
View user's profile Send private message AIM Address
psiko_scweek



Joined: 12 Nov 2005
Posts: 42

PostPosted: Wed May 31, 2006 6:37 am    Post subject: special instructions.. Reply with quote

yeah i think i read those and didnt understand them :-(


I need a complete idiots guide to how to install SDL.
Back to top
View user's profile Send private message Yahoo Messenger
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed May 31, 2006 10:40 am    Post subject: Reply with quote

Exerpt from README.PSP

Before you do this i suggest you check to see if automake and autoconf are the latest
Building
--------
To build for the PSP, make sure psp-config is in the path and run: - ignore this bit if you have set up the SDK


./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
make install

TYPE ./autogen.sh and press enter - let it run through

Type LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \ then press enter

Type ./configure --host psp --prefix=$(psp-config --psp-prefix) then press enter and let the script run

Type make if no errors come up (if errors come up, post them here)

then type make install

Thats it!
Back to top
View user's profile Send private message AIM Address
psiko_scweek



Joined: 12 Nov 2005
Posts: 42

PostPosted: Wed May 31, 2006 2:30 pm    Post subject: Reply with quote

it keeps saying

Bash: --host: command not found....

am i doing something wrong?
Back to top
View user's profile Send private message Yahoo Messenger
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Thu Jun 01, 2006 8:10 am    Post subject: Reply with quote

paste one line at a time and it will work
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
lucasclaus



Joined: 24 Nov 2007
Posts: 2

PostPosted: Fri Mar 28, 2008 10:39 pm    Post subject: Reply with quote

hi everybody, this is my first post
i followed all the instructions but after make install it gives me the errors:
make install-data-hook
make[3]: ldconfig: command not found
make[3]: [install-data-hook] Error 127 <ignored>

it's important?
i've to install ldconfig before SDL?
thanks.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Mar 29, 2008 7:43 am    Post subject: Reply with quote

lucasclaus wrote:
hi everybody, this is my first post
i followed all the instructions but after make install it gives me the errors:
make install-data-hook
make[3]: ldconfig: command not found
make[3]: [install-data-hook] Error 127 <ignored>

it's important?
i've to install ldconfig before SDL?
thanks.


This thread is old, OLD, OLD. Why are you even using it? You should be following the newer threads on setting up the sdk and libraries. In fact, there's a script that fetches, compiles, and installs all the major libraries for you in the repo. It's in the psplibraries directory. You can find a tutorial on using it to install the major libs (including SDL) here:

http://www.guztech.nl/tutorials/38-psp/49-setting-up-the-psptoolchain

Installing the libs starts at step 4.
Back to top
View user's profile Send private message AIM Address
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Sun Mar 30, 2008 1:10 am    Post subject: Reply with quote

hi lucasclaus, for a total beginner, either read all the docs or use my win32 builds of sdk and libs to make it easier. With my builds is just download the installers for windows, run the setup then run the setup of sdl and use either eclipse or visual studio to code your stuff. Take a look at this thread:

http://forums.ps2dev.org/viewtopic.php?t=9812
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
lucasclaus



Joined: 24 Nov 2007
Posts: 2

PostPosted: Sun Mar 30, 2008 11:03 am    Post subject: Reply with quote

Heimdall wrote:
hi lucasclaus, for a total beginner, either read all the docs or use my win32 builds of sdk and libs to make it easier. With my builds is just download the installers for windows, run the setup then run the setup of sdl and use either eclipse or visual studio to code your stuff. Take a look at this thread:

http://forums.ps2dev.org/viewtopic.php?t=9812


thanks, very useful links!
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