title: libpng warning in Eclipse
body: <p>I am on Ubuntu 12.04 LTS using Eclipse 3.7.2 trying to use MathGL.
  My simple, c++ looks like:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;mgl2/mgl.h&gt;
  
  using namespace std;
  
  int main() {
  
   mglGraph gr;
   gr.FPlot("sin(pi*x)");
   gr.WritePNG("test.png");
  
  return 0;
  }
  </code></pre>
  
  <p>When I run it I get the following warning :</p>
  
  <pre><code>libpng warning: Application built with libpng-1.2.46 but running with 1.5.13
  </code></pre>
  
  <p>And test.png cannot be displayed.</p>
  
  <p>Any ideas on how to fix it?</p>
  
  <p>Thanks!</p>