problems building pspgl example

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

Moderators: cheriff, TyRaNiD

Post Reply
cadaver
Posts: 21
Joined: Sun Aug 07, 2005 2:31 am

problems building pspgl example

Post by cadaver »

I downloaded pspgl as described in http://www.goop.org/psp/gl/

When trying to build the tests (make && make -C tests clean install), I get some errors, first is "screenshot.c:5:17: error: png.h: No such file or directory"

I searched for png.h, it exists in C:\cygwin\usr\include\libpng12. Why can't it be found ? Where can I set the path ?
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

You need libpng from svn. Info for svn is on the wiki.

Jim
cadaver
Posts: 21
Joined: Sun Aug 07, 2005 2:31 am

libpng

Post by cadaver »

I installed libpng, the png.h is in c:\cygwin\usr\include\libpng10 and c:\cygwin\usr\include\libpng12, but can't be found when building the pspgl test. Seems I have to set a path somewhere ?
cadaver
Posts: 21
Joined: Sun Aug 07, 2005 2:31 am

libpng

Post by cadaver »

Ok, didn't make install libpng... Works now...
Post Reply