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 

Couldn't install FreeType

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



Joined: 29 Jan 2009
Posts: 26

PostPosted: Wed Feb 11, 2009 7:32 am    Post subject: Couldn't install FreeType Reply with quote

Hi,
how could I write text with external font, please?

Thanks.
kweensey

Problem is here: http://forums.ps2dev.org/viewtopic.php?p=79372#79378


Last edited by kweensey on Wed Feb 11, 2009 3:27 pm; edited 2 times in total
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Wed Feb 11, 2009 7:51 am    Post subject: Reply with quote

If you don't want to use Intrafont, McZonk's old sample should still be in samples,
or use Freetype.
_________________
If not actually, then potentially.
Back to top
View user's profile Send private message
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Wed Feb 11, 2009 7:58 am    Post subject: Reply with quote

pgeFont is also a nice one for ttf fonts.
_________________
Programming with:
Geany + Latest PSPSDK from svn
Back to top
View user's profile Send private message
kweensey



Joined: 29 Jan 2009
Posts: 26

PostPosted: Wed Feb 11, 2009 8:05 am    Post subject: Reply with quote

I'm gonna try FreeType, that seems great.. :) But if it fail, I'll try something you said..

Thank You.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Feb 11, 2009 8:13 am    Post subject: Reply with quote

There's an app to change ttf to pgf, then use the converted font with intraFont.
Back to top
View user's profile Send private message AIM Address
kweensey



Joined: 29 Jan 2009
Posts: 26

PostPosted: Wed Feb 11, 2009 8:43 am    Post subject: Reply with quote

I like FreeType but I can't install it. I did exactly what is here but after executing

Code:
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)


I got

Code:
cd builds/unix; ./configure --host psp --prefix=/usr/local/pspdev/psp
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... /bin/sh: ./config.guess: No such file or directory

configure: error: cannot guess build type; you must specify one
make: *** [builds/unix/unix-def.mk] Error 1


I don't get it. :( I really want to use this. Could anybody help me with that, please?

Thanks.
kweensey
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Feb 11, 2009 10:56 am    Post subject: Reply with quote

Use the psplibraries installer from the repo. That will install most of the major libraries needed for PSP apps, including SDL and freetype.

If you followed one of the guides for installing the PSP toolchain, it should have instructed you on doing that immediately after the toolchain installer was done.
Back to top
View user's profile Send private message AIM Address
kweensey



Joined: 29 Jan 2009
Posts: 26

PostPosted: Wed Feb 11, 2009 3:24 pm    Post subject: Reply with quote

Hey,
I used PSPLibraries and exactly the same error in auto-executing that same script.. There probably is some error in my Cygwin, not in installation.. But where? I did nothing with that (not including installing libraries).. :(

Thanks.
kweensey
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Feb 11, 2009 6:38 pm    Post subject: Reply with quote

If you're in Windows, don't bother with cygwin, just get Heimdall's prebuilt packages. There's a thread on that in this forum.
Back to top
View user's profile Send private message AIM Address
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Wed Feb 11, 2009 6:42 pm    Post subject: Reply with quote

I had this problem too.

I found out is was caused by libtool.

this was my solution

jojojoris wrote:
I Found some sort of solution.

After i run the ./configure script from freetype i replaced the libtool with the libtool provided by the SDL librarie.

When i now run make it compiles.

If i want to do "make install" i had to tweak the script 003-freetype.sh

Code:
#!/bin/sh
# freetype.sh by Dan Peori (danpeori@oopo.net)

 ## Download the latest source code.

##Removed

 ## Enter the source directory.
 cd freetype || { exit 1; }

 ## Configure the build.

## removed autogen.sh

## removed confidure script

 ## Compile and install.
 make clean && make -j2 && make install && make clean || { exit 1; }
[/code]
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 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