| View previous topic :: View next topic |
| Author |
Message |
Elxx
Joined: 07 Dec 2005 Posts: 16
|
Posted: Fri Dec 09, 2005 8:23 am Post subject: Unable to build LuaPlayer |
|
|
I have been trying to build Luaplayer from the source for a while now, to get an insight into how to make standalone apps. I believe I've sorted all the dependencies...however, when I do "make", I get hit with a string of errors...:
Probably related to this is the error I get when trying to compile the sample app:
Any suggestions? |
|
| Back to top |
|
 |
Dr. Vegetable
Joined: 14 Nov 2005 Posts: 171 Location: Boston, Massachusetts
|
Posted: Fri Dec 09, 2005 11:24 pm Post subject: |
|
|
I don't know if this is the problem you are having, but if you are using GCC on a Windows machine, you have to be careful about preserving the case of filenames. Some legacy DOS applications convert filenames into upper case, and Windows will still treat the filenames the same. However, many of the Linux tools require that the original case of the filename be preserved.
I ran across this issue when I was building sample applications from the PSPSDK. I was getting an error something like:
| Code: |
make: *** no rule to make target 'main.o'
|
It turns out that the culprit was an old tool I had written about 10 years ago to convert Unix/Linux linefeeds into evil MS-DOS carriage return+linefeeds to keep my editor happy. It renamed "main.c" to MAIN.C" and broke the build.
Hope this helps! |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Sat Dec 10, 2005 12:10 am Post subject: Re: Unable to build LuaPlayer |
|
|
| Elxx wrote: | I have been trying to build Luaplayer from the source for a while now, to get an insight into how to make standalone apps. I believe I've sorted all the dependencies...however, when I do "make", I get hit with a string of errors...:
|
Looks like you didn't compile Lua from SVN with "make -f Makefile.psp" and "make -f Makefile.psp install".
| Elxx wrote: |
Probably related to this is the error I get when trying to compile the sample app:
|
No, this is a documentation bug, take a look at the Makefile.psp-standlone, you need release10 and release15 as the target name. |
|
| Back to top |
|
 |
Elxx
Joined: 07 Dec 2005 Posts: 16
|
Posted: Sat Dec 10, 2005 10:03 am Post subject: Re: Unable to build LuaPlayer |
|
|
| Shine wrote: | | Elxx wrote: | I have been trying to build Luaplayer from the source for a while now, to get an insight into how to make standalone apps. I believe I've sorted all the dependencies...however, when I do "make", I get hit with a string of errors...:
|
Looks like you didn't compile Lua from SVN with "make -f Makefile.psp" and "make -f Makefile.psp install".
|
I just tried it again, re-making and re-installing Lua and I still get the same errors. |
|
| Back to top |
|
 |
fafenstein
Joined: 12 Dec 2005 Posts: 10
|
Posted: Mon Dec 12, 2005 8:42 pm Post subject: |
|
|
Hi all,
For begining i m french and my english is crappy.
Just a question, not help for Elxx sorry :
Can someone tell me the exact way to do a standalone whith a lua homebrew = LUA to PBP in fact.
I do something and i want to give it in standalone not in LUA.
thx in advance for answers ;). |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Mon Dec 12, 2005 9:14 pm Post subject: |
|
|
Please follow this guide, I've added the jpeg-library and freetype, which is needed for the latest Lua Player:
http://wiki.ps2dev.org/psp:lua_player:compiling
If you have any questions, please write which step fails and post the output of the failure as text (then it is easier for others to find it by using the forum search function). Most of the time the beginning of the output is more interesting than the end, e.g. "library foo not found" is more informative than a page of "undefined references". |
|
| Back to top |
|
 |
fafenstein
Joined: 12 Dec 2005 Posts: 10
|
Posted: Mon Dec 12, 2005 11:25 pm Post subject: |
|
|
Ok shine thx 4 this quick answer.
Just one more.
Imagine i do a soft call : crappy
What exactly i have to compile ?
-My folder "crappy" where is my lua index ?
-All LUAplayer whith my folder "crappy" in "application" folder ?
Thx |
|
| Back to top |
|
 |
fafenstein
Joined: 12 Dec 2005 Posts: 10
|
Posted: Fri Dec 16, 2005 8:15 pm Post subject: |
|
|
| Anyway can someone can compile a lua soft to *.pbp for me ???? |
|
| Back to top |
|
 |
|