I installed the toolchain as root.
I installed pspgl as user, in ~/psp/pspgl
Code: Select all
faldore@tux pspgl $ set | grep PSP
PSP_MOUNTDIR='~/psp/mountpoint'
PSP_REVISION=1.50
faldore@tux pspgl $ psp-config --psp-prefix
/usr/local/pspdev/psp
faldore@tux pspgl $ psp-config --pspsdk-path
/usr/local/pspdev/psp/sdk
Code: Select all
screenshot.c:5:17: error: png.h: No such file or directory
Code: Select all
/usr/include/png.h
/usr/include/libpng12/png.h
Code: Select all
CFLAGS = -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I $(PSPPATH)/include -I $(PSPSDK)/include
Would it work to add my /usr/include to the Makefile? Or maybe I need to install a png library for PSP? Has anyone run into this before?
Thanks,
Eric