[SOLVED] PSPSDK Samples/GU/Text

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

Moderators: cheriff, TyRaNiD

Post Reply
bigbrov
Posts: 2
Joined: Mon Mar 09, 2009 6:36 am

[SOLVED] PSPSDK Samples/GU/Text

Post by bigbrov »

Hi,

I'm trying to compile the GU/Text sample but I got an error that the font.c file is missing. I downloaded the original debug font.c file and pasted in GU/Text. But when I compile it again I get this error:

Code: Select all

main.c: In function 'main':
main.c:168: error: 'font' undeclared (first use in this function)
main.c:168: error: (Each undeclared identifier is reported only once
main.c:168: error: for each function it appears in.)
make: *** [main.o] Error 1
And this is line 168

Code: Select all

sceGuTexImage(0, 256, 128, 256, font);
Could someone help?
Last edited by bigbrov on Mon Mar 09, 2009 7:19 pm, edited 1 time in total.
roe-ur-boat
Posts: 5
Joined: Wed Aug 22, 2007 4:54 am

Post by roe-ur-boat »

Type "make font.c" first to convert the raw file then it should compile.
bigbrov
Posts: 2
Joined: Mon Mar 09, 2009 6:36 am

Post by bigbrov »

Okay Now It Works! :D

Thank You Very Much!
Post Reply