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 

Error when compiling Freetype

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



Joined: 28 Jul 2005
Posts: 4

PostPosted: Wed Apr 19, 2006 12:11 pm    Post subject: Error when compiling Freetype Reply with quote

I was following the tutorial on how to compile Luaplayer and ran into an error when trying to compile the freetype library where it said there was no makefile.


The third step finishing.


The make command giving an error.

There was one more screenshot that said that I should use "--type" instead of "--host" for the third step but it did not result in Cygwin stopping. I could recreate it if needed but I lost the image for now.

I followed the instructions and have Cygwin installed according to this tutorial: http://www.scriptscribbler.com/psp/tutorials/lesson01.htm

Any help in resovling the problem would be appreciated! If more information is needed I will be happy to provide it.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Apr 19, 2006 4:07 pm    Post subject: Reply with quote

from the README.PSP included with the freetype source:

Quote:
To build and install:

sh autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
make install

Did you try this?

http://svn.pspdev.org/filedetails.php?repname=psp&path=%2Ftrunk%2Ffreetype%2FREADME.PSP&rev=0&sc=0
Back to top
View user's profile Send private message Visit poster's website
ExxonValdeez



Joined: 28 Jul 2005
Posts: 4

PostPosted: Wed Apr 19, 2006 11:26 pm    Post subject: Reply with quote

No, I did not. I'll try it right away. Thanks!

Edit: It still comes up with an error message. I might not have the right versions of the tools mentioned in the readme. I am not sure.

Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Apr 20, 2006 12:56 am    Post subject: Reply with quote

The error messages clearly show it is having problems due to your current directory containing a space. Try building it in a directory without a space instead.
Back to top
View user's profile Send private message Visit poster's website
ExxonValdeez



Joined: 28 Jul 2005
Posts: 4

PostPosted: Thu Apr 20, 2006 7:48 am    Post subject: Reply with quote

Okay looks like it is working! I put it in the cygwin root directory. Hopefully the rest will go smoothly. :)

Edit: Okay, I got to compile correctly and now luaplayer is built! Thanks!:)

One more question though. Why are there various lrx and prx files in the test folder that the eboot is put in? Are they necessary for lua to run? Just wondering, anyway thanks ooPo!

2nd Edit: Okay, I realized that Lua now had external libraries instead of the functions being within the eboot.
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