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 

SDL problems compiling remotejoy

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



Joined: 02 Jul 2006
Posts: 2

PostPosted: Mon Jun 25, 2007 2:35 am    Post subject: SDL problems compiling remotejoy Reply with quote

I have been following a few tuts including http://www.ngine.de/index.jsp?pageid=4292

I have most of it done but i've run into a snag building tools/remotejoy/pcsdl. I'm getting a bunch of errors about a missing SDL.h and a few other SDL header files, so i checked the SDL port from the SVN and figured building that would fix it.

The instructions (readme.psp) in SDL give me this:
Quote:
./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
make install


Now ./autogen.sh worked ok but the LDFLAGS line churns away for a bit and then starts complaining about missing makefile.in, in fact there aren't *any* makefile.in's in the SDL folder i checked out.

Can anyone tell me where i'm going wrong as i've been going back over what i have done so far for about 2 hours now and i can't figure out where i'm being stupid.

EDIT: Fixed it. I found a post that suggested "export WANT_AUTOMAKE=1.9" before calling autogen.sh and that fixed it. I was sure these were supposed to be created by automake rather than from the svn too. I hate being a noob :/


Last edited by tiamatloc on Mon Jun 25, 2007 3:52 am; edited 1 time in total
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Mon Jun 25, 2007 3:42 am    Post subject: Reply with quote

1) Makefile.in is created by "autogen.sh". If you didn't get one, chances are that your autotools aren't the right version. It needs automake 1.9 for now (not 1.10).

2) This is the PSP SDL library. You don't need that to compile the PC SDL code. Install the SDL development libraries on your PC.
Back to top
View user's profile Send private message
tiamatloc



Joined: 02 Jul 2006
Posts: 2

PostPosted: Mon Jun 25, 2007 3:59 am    Post subject: Reply with quote

Thanks for pointing that out, though i did spot that after looking at some posts. As for 2 i thought that was what 'make install' would do, but then i'm a noob so i will probably find i am wrong.

Don't worry, i'll search and experiment a bit more (i learn best that way). Thanks for replying.
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