A Compiler Error Help!!

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

Moderators: cheriff, TyRaNiD

Post Reply
kevinwillis
Posts: 5
Joined: Thu Apr 26, 2007 4:34 pm

A Compiler Error Help!!

Post by kevinwillis »

I was a psp Programme beginner.
When i use devkitPropsp to compiler the mapthis0479_Beta version this error has occurred :

Administrator@WWW-FT9UXD4ILLE ~/src
$ make
psp-gcc -I. -I/D/PSPSDK/pspdev/psp/sdk/include -O2 -G0 -Wall -g -DDANZEFF_SCEGU
-DNDEBUG -DGENERIC -D_PSP_FW_VERSION=150 -c -o main.o main.c
In file included from main.c:1:
main.h:7:18: error: zlib.h: No such file or directory
make: *** [main.o] Error 1

Administrator@WWW-FT9UXD4ILLE ~/src
$

It says no zlib.h file. I think this error is because the devkitPropsp environment not include the zlib lib .
So how do i install zlib in devkitPropsp ??

Such libs like lpng ljpeg etc.

And in the makefile it has this statement :
CFLAGS = -O2 -G0 -Wall -g -DDANZEFF_SCEGU -DNDEBUG -DGENERIC
LIBS = -lpspdebug -lpsphprm_driver -lpsprtc -lpspvfpu -lpspgum -lpspgu -lpsppower -lpng -lz -ljpeg -lm -lpspwlan

what is mean ??
Post Reply