Thank you very much, that fixed the problem. Now I can run the mgl_example. It
outputs to png and eps but not pdf. When I runt ./mgl_example it outputs the
name of the plots as usual and takes some time processing but in the end there
is no pdf file created in the example folder. Do you have any hint on that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
The installation fails for mathgl-1.11.2 under Mac OS X 10.7.3 with the latest
libpng package installed. I get the following error during the make:
sorry forgot to mention that I installed libpng 1.5.9 and gel 1.9
Your help is very appreciated.
Hi,
It is strange error, because Z_BEST_COMPRESSION is standard definition in zlib
http://zlib.net/manual.html#Constants
I can only suggest to replace this definition by its numeric value. I.e. add
define Z_BEST_COMPRESSION=9 (or if fails then =-1).
Thank you very much, that fixed the problem. Now I can run the mgl_example. It
outputs to png and eps but not pdf. When I runt ./mgl_example it outputs the
name of the plots as usual and takes some time processing but in the end there
is no pdf file created in the example folder. Do you have any hint on that?
oh I meant ./mgl_example -pdf
Option -pdf will produce PDF with U3D. Most probably that you don't include
support of U3D and/or PDF at build time.
I see thanks, well then I investigate how to add support for pdf and come back
to you if got lost. Cheers.