Hi Venkata: Thanks for your detailed bug report.
On 2009-04-01 04:07-0700 Venkata Subrahmanyam Gurram wrote: > Hi, > > Can you please tell me the procedure how to enable gd driver ? > > We are developing the plplot.jar file on windows machine. We have downloaded > gd-latest-win32.zip file. The following is the output when issued the cmake > command > [...] > -- Found GD: D:/gd-latest-win32/lib/bgd.lib >From the name it seems obvious, but just to double check, is this a library delivered by gd-latest-win32.zip? [...] > ENABLE_DYNDRIVERS: OFF > DRIVERS_LIST: gd;hpgl;mem;null;pbm;pdf;ps;svg;wingcc;xfig > DEVICES_LIST: > gif;jpeg;png;hp7470;hp7580;lj_hpgl;mem;null;pbm;pdf;ps;svg;wingcc;xfig The appearance of 'gd' in the first list and 'gif;jpeg;png' in the second list indicates our build system has enabled the gd device driver, i.e., found gd resources like the above library, and scheduled the gd device driver for building. > When we issued the make command it failed. The following is the output of > make command > [ 28%] Building C object src/CMakeFiles/plplotd.dir/__/drivers/gd.obj > Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland > d:\plplot-5.9.1\plplot-5.9.1\drivers\gd.c: > Error E2141 D:/gd-latest-win32/include\gd.h 133: Declaration syntax error > Error E2356 D:/gd-latest-win32/include\gd.h 258: Type mismatch in > redeclaration of '_stdcall' [...] It appears our build system found the correct header directory for the gd library, (but double-check please), but the Borland compiler did not like the way that header was set up. So there is probably something extra that has to be #included (or something that should not be #included) in our own drivers/gd.c for the Borland compiler case. By the way, I suggest you use "make VERBOSE=1" to get the exact compilation command that is failing to run for the above build of gd.obj. Once you have the exact command, then it makes it easier for you to debug the situation further. If you can figure out what source code changes are required to get the Borland compiler to work in this case, let us know. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel