>
 > On Tue, Jun 29, 2010 at 7:22 PM, Sisyphus <[email protected]> 
wrote:
 >> >
 >> > ----- Original Message ----- From: "P Kishor" <[email protected]>
 >> >
 >>> >> I turn on png, gif, and jpeg output, generate the
 >>> >> configuration file, and make. And, lo... no png output. Seems 
like the
 >>> >> png, gif, jpeg output options don't stick.
 >> >
 >> > Is there anything in the cmake ouptut that hints at what could be 
missing ?
 >> > Are the libraries you've mentioned shared or static ? (It's 
perhaps going to
 >> > detect shared libs only.)
 >
 > I couldn't begin to tell ya. I am used to ./configure, and the ability
 > to specify options such as ---with-png --with-jpeg, etc. I don't know
 > how to provide options to cmake, which doesn't seem to take such
 > options (although it does take many other options, most seemingly
 > irrelevant to this issue).

The GD based drivers in PLplot are turned off by default because they 
are kind of lame compared to their Cairo or Qt equivalents. However, you 
should be able to turn them on with:

cmake ../path-to-plplot-source/ -DPLD_png=ON

If everything is good you should see something like this:

...
-- Looking for gdImagePng in /usr/lib/libgd.so
-- Looking for gdImagePng in /usr/lib/libgd.so - found
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- Looking for gdImageJpeg in /usr/lib/libgd.so
-- Looking for gdImageJpeg in /usr/lib/libgd.so - found
-- Found JPEG: /usr/lib/libjpeg.so
-- Looking for gdImageGif in /usr/lib/libgd.so
-- Looking for gdImageGif in /usr/lib/libgd.so - found
-- Found GD: /usr/lib/libgd.so
...

Note that it is generally a bad idea to build PLplot in the same 
directory as the source as this can lead to unwanted recollections of 
earlier build settings. You should always build it in an empty directory.

Many of the build options can be found here:
http://www.miscdebris.net/plplot_wiki/index.php?title=CMake_options_for_PLplot

-Hazen


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to