psplibraries problem
-
- Posts: 30
- Joined: Sat Apr 05, 2008 5:53 am
- Location: Germany -> Hessen -> Hanau
- Contact:
psplibraries problem
Hi,
i' ve got a Problem. I tryed top install the library package psplibraries and get an error at end of my installation. I' dont know, why and how to fix it. I posted the message of gcc http://rafb.net/p/GM3e9f44.txt but there wasn' t the whole message of gcc anymore, but maybe someone here helps this part of the message. Sorry for my bad Englisch ( i' m German ) and thanks for help.
Nice wishes, Floorball92
i' ve got a Problem. I tryed top install the library package psplibraries and get an error at end of my installation. I' dont know, why and how to fix it. I posted the message of gcc http://rafb.net/p/GM3e9f44.txt but there wasn' t the whole message of gcc anymore, but maybe someone here helps this part of the message. Sorry for my bad Englisch ( i' m German ) and thanks for help.
Nice wishes, Floorball92
-
- Posts: 30
- Joined: Sat Apr 05, 2008 5:53 am
- Location: Germany -> Hessen -> Hanau
- Contact:
this time this:
http://rafb.net/p/sffPcn35.txt
but other question, what kann I do, that this error doesen' t come in gcc??
$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=
390 -c -o main.o main.c
In file included from graphics.h:4,
from main.c:14:
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/include/ft2build.h:56:38: er
ror: freetype/config/ftheader.h: No such file or directory
In file included from main.c:14:
graphics.h:5:10: error: #include expects "FILENAME" or <FILENAME>
In file included from main.c:14:
graphics.h:268: error: expected ')' before '*' token
graphics.h:278: error: expected ')' before '*' token
make: *** [main.o] Error 1
Which lib did I have to install??
http://rafb.net/p/sffPcn35.txt
but other question, what kann I do, that this error doesen' t come in gcc??
$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=
390 -c -o main.o main.c
In file included from graphics.h:4,
from main.c:14:
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/include/ft2build.h:56:38: er
ror: freetype/config/ftheader.h: No such file or directory
In file included from main.c:14:
graphics.h:5:10: error: #include expects "FILENAME" or <FILENAME>
In file included from main.c:14:
graphics.h:268: error: expected ')' before '*' token
graphics.h:278: error: expected ')' before '*' token
make: *** [main.o] Error 1
Which lib did I have to install??
-
- Posts: 30
- Joined: Sat Apr 05, 2008 5:53 am
- Location: Germany -> Hessen -> Hanau
- Contact:
The EASY way to install it is with the library.sh script. If you can't get that to work, I doubt you'll be able to get freetype on its own installed. To install any of the PSP libraries on its own, read the "README.PSP" file in the library directory (DUH!). If you can't get it installed by following the README.PSP, you should probably be trying to install one of the pre-built toolchains instead of trying to build it yourself.
-
- Posts: 30
- Joined: Sat Apr 05, 2008 5:53 am
- Location: Germany -> Hessen -> Hanau
- Contact:
Make sure you set all the exports before trying to compile/install this stuff or it may not go where it needs to be. In linux, the exports are
The last export is VITAL for certain libraries like freetype or ogg since they use pkg_config, and without a path, god only knows where it puts the stuff it needs. In Windows, you still have the environment variables, but you set them a little differently. See one of the hundreds of threads on setting up the toolchain in Windows for details.
Code: Select all
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="$PATH:$PSPPATH"
export PKG_CONFIG_PATH="$PSPDEV/psp/lib/pkgconfig"
-
- Posts: 30
- Joined: Sat Apr 05, 2008 5:53 am
- Location: Germany -> Hessen -> Hanau
- Contact: