Menu

compiling mathgl on mac

Help
2010-11-24
2012-10-16
  • MySchizoBuddy

    MySchizoBuddy - 2010-11-24

    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

     
  • Nobody/Anonymous

    Modify your CFLAGS and CXXFLAGS before you configure. eg:

    export CFLAGS=-I/opt/local/include
    export CXXFLAGS=-I/opt/local/include

    ./configure blahblahblah

     

Log in to post a comment.