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 

Unable to build LuaPlayer

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



Joined: 07 Dec 2005
Posts: 16

PostPosted: Fri Dec 09, 2005 8:23 am    Post subject: Unable to build LuaPlayer Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Dr. Vegetable



Joined: 14 Nov 2005
Posts: 171
Location: Boston, Massachusetts

PostPosted: Fri Dec 09, 2005 11:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Sat Dec 10, 2005 12:10 am    Post subject: Re: Unable to build LuaPlayer Reply with quote

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
View user's profile Send private message
Elxx



Joined: 07 Dec 2005
Posts: 16

PostPosted: Sat Dec 10, 2005 10:03 am    Post subject: Re: Unable to build LuaPlayer Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
fafenstein



Joined: 12 Dec 2005
Posts: 10

PostPosted: Mon Dec 12, 2005 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Mon Dec 12, 2005 9:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
fafenstein



Joined: 12 Dec 2005
Posts: 10

PostPosted: Mon Dec 12, 2005 11:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
fafenstein



Joined: 12 Dec 2005
Posts: 10

PostPosted: Fri Dec 16, 2005 8:15 pm    Post subject: Reply with quote

Anyway can someone can compile a lua soft to *.pbp for me ????
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 Lua Player 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