Couldn't install FreeType

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
kweensey
Posts: 26
Joined: Thu Jan 29, 2009 5:43 pm

Couldn't install FreeType

Post by kweensey »

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.
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

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.
NoEffex
Posts: 106
Joined: Thu Nov 27, 2008 6:48 am

Post by NoEffex »

pgeFont is also a nice one for ttf fonts.
Programming with:
Geany + Latest PSPSDK from svn
kweensey
Posts: 26
Joined: Thu Jan 29, 2009 5:43 pm

Post by kweensey »

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

Thank You.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

There's an app to change ttf to pgf, then use the converted font with intraFont.
kweensey
Posts: 26
Joined: Thu Jan 29, 2009 5:43 pm

Post by kweensey »

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

Code: Select all

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

Code: Select all

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
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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.
kweensey
Posts: 26
Joined: Thu Jan 29, 2009 5:43 pm

Post by kweensey »

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
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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.
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

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

#!/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]
Post Reply