forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A Compiler Error Help!!

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
kevinwillis



Joined: 26 Apr 2007
Posts: 5

PostPosted: Thu Apr 26, 2007 4:52 pm    Post subject: A Compiler Error Help!! Reply with quote

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 ??
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group