| View previous topic :: View next topic |
| Author |
Message |
kweensey
Joined: 29 Jan 2009 Posts: 26
|
Posted: Wed Feb 11, 2009 7:32 am Post subject: Couldn't install FreeType |
|
|
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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Wed Feb 11, 2009 7:51 am Post subject: |
|
|
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 |
|
 |
NoEffex
Joined: 27 Nov 2008 Posts: 108
|
Posted: Wed Feb 11, 2009 7:58 am Post subject: |
|
|
pgeFont is also a nice one for ttf fonts. _________________ Programming with:
Geany + Latest PSPSDK from svn |
|
| Back to top |
|
 |
kweensey
Joined: 29 Jan 2009 Posts: 26
|
Posted: Wed Feb 11, 2009 8:05 am Post subject: |
|
|
I'm gonna try FreeType, that seems great.. :) But if it fail, I'll try something you said..
Thank You. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Feb 11, 2009 8:13 am Post subject: |
|
|
| There's an app to change ttf to pgf, then use the converted font with intraFont. |
|
| Back to top |
|
 |
kweensey
Joined: 29 Jan 2009 Posts: 26
|
Posted: Wed Feb 11, 2009 8:43 am Post subject: |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Feb 11, 2009 10:56 am Post subject: |
|
|
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 |
|
 |
kweensey
Joined: 29 Jan 2009 Posts: 26
|
Posted: Wed Feb 11, 2009 3:24 pm Post subject: |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Feb 11, 2009 6:38 pm Post subject: |
|
|
| 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 |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Wed Feb 11, 2009 6:42 pm Post subject: |
|
|
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 |
|
 |
|