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). > > On Windows, which is set up a little differently, png support was > automatically built in as soon as pkg-config, glib, pango and cairo were > found. Enabling them to be found was as simple as adding C:/Gtk+/bin (which > is where the aforementioned executable and shared libraries are located on > my pc) to the path. > > Not sure how that equates to your OS, but pkg-config, glib, pango and cairo > are common on a wide range of platforms - so there could be some analogies > for you to draw. As I said, I have libpng, libgd and libjpeg that I installed myself, and I use them regularly in other programs (MapServer, other Perl modules, etc.). Actually, I have even used GD with PDL. > > The gd driver (which I didn't build) is also capable of png output, but I > was told its png capabilities aren't as good as pango/cairo. > > You'll quite possibly get good advice here to help out with this, but if > such advice is not forthcoming, one other thing would be to try the plplot > mailing list. I hope so. David showed today that PLplot is pretty cool, but I tell you, it is a royal pain in the ass to install. > > Cheers, > Rob > -- Puneet Kishor _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
