c++ - libpng warning in Eclipse -
i on ubuntu 12.04 lts using eclipse 3.7.2 trying use mathgl. simple, c++ looks like:
#include <iostream> #include <mgl2/mgl.h> using namespace std; int main() { mglgraph gr; gr.fplot("sin(pi*x)"); gr.writepng("test.png"); return 0; }
when run following warning :
libpng warning: application built libpng-1.2.46 running 1.5.13
and test.png cannot displayed.
any ideas on how fix it?
thanks!
you have re-build app use libpng-1.5.13. built 1.2.46. or read release notes 2 versions , determine supported in 1.2.46 , stay within boundaries. must trying use functionality in lidpng not in 1.2.46
Comments
Post a Comment