| View previous topic :: View next topic |
| Author |
Message |
cadaver
Joined: 07 Aug 2005 Posts: 21
|
Posted: Sun Feb 12, 2006 8:19 pm Post subject: problems building pspgl example |
|
|
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 ? |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
Posted: Mon Feb 13, 2006 6:57 am Post subject: |
|
|
You need libpng from svn. Info for svn is on the wiki.
Jim _________________ http://www.dbfinteractive.com |
|
| Back to top |
|
 |
cadaver
Joined: 07 Aug 2005 Posts: 21
|
Posted: Mon Feb 13, 2006 7:22 am Post subject: libpng |
|
|
| 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 ? |
|
| Back to top |
|
 |
cadaver
Joined: 07 Aug 2005 Posts: 21
|
Posted: Mon Feb 13, 2006 7:49 pm Post subject: libpng |
|
|
| Ok, didn't make install libpng... Works now... |
|
| Back to top |
|
 |
|