Mathgl is unable to find the png.h file.
How can i tell where is it searching for it. my configure script is
./configure --prefix=/opt/local CFLAGS=-I${prefix}/include
LDFLAGS=-L${prefix}/lib --enable-hdf5 --enable-gsl
png.h is in /opt/local/incude/png.h
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Mathgl is unable to find the png.h file.
How can i tell where is it searching for it. my configure script is
./configure --prefix=/opt/local CFLAGS=-I${prefix}/include
LDFLAGS=-L${prefix}/lib --enable-hdf5 --enable-gsl
png.h is in /opt/local/incude/png.h
Modify your CFLAGS and CXXFLAGS before you configure. eg:
export CFLAGS=-I/opt/local/include
export CXXFLAGS=-I/opt/local/include
./configure blahblahblah