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 

Newbie questions about compiling

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
F.J. Sánchez



Joined: 06 Nov 2005
Posts: 10

PostPosted: Sat Jan 21, 2006 11:07 am    Post subject: Newbie questions about compiling Reply with quote

Hi, I'm new to the psp programming world so I'm quite lost (sorry for my english).

I use GNU/Linux and when I want to compile the SDK samples there are no problems, it compiles without problems; but when I try to compile something that uses external libraries like libpng, libjpeg, mikmod or any other it's all problems. For example for LuaPlayer source I already have installed the dependencies from the repository of my distribution (Ubuntu Breezy), is that right? Or, have I to install the libraries from the svn repository? I normally have also to edit the Makefile to add to the INCDIR var /usr/include/xxx, shouldn't Makefile do it automatically?

Thank you.
_________________
Hack your mind
Okupa tu mente.
Back to top
View user's profile Send private message
ufoz



Joined: 10 Nov 2005
Posts: 86
Location: Tokyo

PostPosted: Sat Jan 21, 2006 11:18 am    Post subject: Reply with quote

You need the psp versions of these libraries from SVN. Checkout, make, make install, and everything should compile fine.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
F.J. Sánchez



Joined: 06 Nov 2005
Posts: 10

PostPosted: Sat Jan 21, 2006 11:31 am    Post subject: Reply with quote

Ok, I'm going to grab all files from svn, compile and install. What's the difference between both? Sorry if it's a stupid question.
_________________
Hack your mind
Okupa tu mente.
Back to top
View user's profile Send private message
cheriff
Regular


Joined: 23 Jun 2004
Posts: 262
Location: Sydney.au

PostPosted: Sat Jan 21, 2006 11:38 am    Post subject: Reply with quote

F.J. Sánchez wrote:
Ok, I'm going to grab all files from svn, compile and install. What's the difference between both? Sorry if it's a stupid question.
The ones on your pc are built for a pc environment (ie compiled for x86 or whatever your desktop is), the ones in svn have been ported so as to work on psp's processor and SW environment.
_________________
Damn, I need a decent signature!
Back to top
View user's profile Send private message
F.J. Sánchez



Joined: 06 Nov 2005
Posts: 10

PostPosted: Sat Jan 21, 2006 11:45 am    Post subject: Reply with quote

It's true, I forget that it installs header files and library objet compiled for my x86.

Thanks cheriff.
ありがと ウフォズさん。
_________________
Hack your mind
Okupa tu mente.
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