From: Werner S. <sm...@ia...> - 2009-03-10 09:34:40
|
Hi Arjen, > > I tried building PLplot with this device (and the new third-party > library) turned on on bare Windows, but it fails: > - The linker complains about cdImageColorClear() - it does not > seem to exist. Only this function was not exported, since it is declared as private. Since it is used in the cgm driver I exported it as well. > - The dll directory that is created under Windows does not contain > a corresponding dll for the CD library, only an import-library > that is empty as far as I can see. I can't confirm that. I have a nistcd.dll and nistcd.lib in the dll directory and the cgm driver links and works. Could you try it again, if the changes I comitted solve your problem? Thanks, Werner > > I have not had an opportunity yet to examine the source code, but > my guess is that for Windows we need to add the proper visibility > attributes (dllexport). It is probably not too difficult to add > them (after all, we have already done it for other libraries), but > it may take me a couple of days - real life taking quite some of > my time away. > > Regards, > > Arjen > > On 2009-03-09 08:36, Alan W. Irwin wrote: > >> >> Please give this change a thorough testing. If you don't know how >> to view >> the resulting cgm files, they should be convertable to other vector >> graphics >> formats such as svg using uniconvertor. However, Debian Lenny let >> me down >> in this case (See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518816) >> . >> > ... >> >> After that build, the "display" application gave good results for >> our cgm >> plots within the current limitations of the cgm device (Hershey >> fonts, no >> antialising, etc.) Note, if you look at the cgm examples generated by >> running the tests in lib/nistcd, the text is done with good looking >> fonts, >> and the text and lines are nicely antialiased. Thus, it is >> possible in >> theory to overcome these current limitations for our cgm device if >> anybody >> is interested on working on this device (considering that the >> external libcd >> build is no longer a barrier to entry for using -dev cgm). >> > > > Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of > TNO and parts of Rijkswaterstaat have joined forces in a new > independent institute for delta technology, Deltares. Deltares > combines knowledge and experience in the field of water, soil and > the subsurface. We provide innovative solutions to make living in > deltas, coastal areas and river basins safe, clean and sustainable. > > > > DISCLAIMER: This message is intended exclusively for the > addressee(s) and may contain confidential and privileged > information. If you are not the intended recipient please notify the > sender immediately and destroy this message. Unauthorized use, > disclosure or copying of this message is strictly prohibited. > The foundation 'Stichting Deltares', which has its seat at Delft, > The Netherlands, Commercial Registration Number 41146461, is not > liable in any way whatsoever for consequences and/or damages > resulting from the improper, incomplete and untimely dispatch, > receipt and/or content of this e-mail. > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |