| View previous topic :: View next topic |
| Author |
Message |
F.J. Sánchez
Joined: 06 Nov 2005 Posts: 10
|
Posted: Sat Jan 21, 2006 11:07 am Post subject: Newbie questions about compiling |
|
|
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 |
|
 |
ufoz
Joined: 10 Nov 2005 Posts: 86 Location: Tokyo
|
Posted: Sat Jan 21, 2006 11:18 am Post subject: |
|
|
| You need the psp versions of these libraries from SVN. Checkout, make, make install, and everything should compile fine. |
|
| Back to top |
|
 |
F.J. Sánchez
Joined: 06 Nov 2005 Posts: 10
|
Posted: Sat Jan 21, 2006 11:31 am Post subject: |
|
|
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 |
|
 |
cheriff Regular
Joined: 23 Jun 2004 Posts: 262 Location: Sydney.au
|
Posted: Sat Jan 21, 2006 11:38 am Post subject: |
|
|
| 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 |
|
 |
F.J. Sánchez
Joined: 06 Nov 2005 Posts: 10
|
Posted: Sat Jan 21, 2006 11:45 am Post subject: |
|
|
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 |
|
 |
|