Unable to build LuaPlayer

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Elxx
Posts: 16
Joined: Wed Dec 07, 2005 4:48 pm
Contact:

Unable to build LuaPlayer

Post by Elxx »

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...:

Image

Probably related to this is the error I get when trying to compile the sample app:

Image

Any suggestions?
Dr. Vegetable
Posts: 171
Joined: Mon Nov 14, 2005 1:32 am
Location: Boston, Massachusetts
Contact:

Post by Dr. Vegetable »

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: Select all

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!
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: Unable to build LuaPlayer

Post by Shine »

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.
Elxx
Posts: 16
Joined: Wed Dec 07, 2005 4:48 pm
Contact:

Re: Unable to build LuaPlayer

Post by Elxx »

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.
fafenstein
Posts: 10
Joined: Mon Dec 12, 2005 8:38 pm

Post by fafenstein »

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 ;).
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Post by Shine »

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".
fafenstein
Posts: 10
Joined: Mon Dec 12, 2005 8:38 pm

Post by fafenstein »

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
fafenstein
Posts: 10
Joined: Mon Dec 12, 2005 8:38 pm

Post by fafenstein »

Anyway can someone can compile a lua soft to *.pbp for me ????
Post Reply