From: Herng-Jeng J. <hj...@qu...> - 2003-09-09 19:02:28
|
Hi, I downloaded plplot 5.2.1, compiled win32 with no problem with VC++ 6.0. Then I was trying to compiled the win-tk dll. Following the instruction of Readme.txt, the first error I found was not finding "ltdl.h" file when compiling plcore.c. After adding -I..\..\libltdl into compile flag, it was found. Then following errors occur when compiling plcore.c: ..\..\src/../include\plConfig.h(48) : warning C4005: 'DATA_DIR' : macro redefinition unknown(0) : see previous definition of 'DATA_DIR' ..\..\libltdl\ltdl.h(332) : error C2061: syntax error : identifier 'UNKNOWN' : : : many warning messages : ..\..\src\plcore.c(1630) : error C2065: 'DIR' : undeclared identifier ..\..\src\plcore.c(1630) : error C2065: 'dp_drvdir' : undeclared identifier ..\..\src\plcore.c(1630) : warning C4047: '=' : 'int ' differs in levels of indirection from 'void *' ..\..\src\plcore.c(1630) : error C2106: '=' : left operand must be l-value ..\..\src\plcore.c(1631) : error C2143: syntax error : missing ';' before 'type' ..\..\src\plcore.c(1632) : error C2275: 'lt_dlhandle' : illegal use of this type as an expression ..\..\libltdl\ltdl.h(148) : see declaration of 'lt_dlhandle' ..\..\src\plcore.c(1632) : error C2146: syntax error : missing ';' before identifier 'dlhand' ..\..\src\plcore.c(1632) : error C2065: 'dlhand' : undeclared identifier ..\..\src\plcore.c(1640) : warning C4013: 'opendir' undefined; assuming extern returning int ..\..\src\plcore.c(1641) : warning C4047: '==' : 'int ' differs in levels of indirection from 'void *' ..\..\src\plcore.c(1647) : error C2065: 'entry' : undeclared identifier ..\..\src\plcore.c(1647) : warning C4013: 'readdir' undefined; assuming extern returning int ..\..\src\plcore.c(1647) : warning C4047: '!=' : 'int ' differs in levels of indirection from 'void *' ..\..\src\plcore.c(1649) : error C2223: left of '->d_name' must point to struct/union Could anybody help me resolve these problem? Or can somebody can share the built dll with me? Thanks a lot. Jou ======================================= Herng-Jeng Jou QuesTek Innovations, LLC 1820 Ridge Avenue Evanston, IL 60201 (Tel) 847.425.8221 (Fax) 847.328.5855 hj...@qu... |
From: Vince D. <vi...@sa...> - 2003-09-10 14:36:55
|
I've committed a couple of small fixes to the win-tk build. The problem is that plplot's build/config (and even data directories and #defines) have changed a number of times in the last few years and I haven't always kept win-tk/makefile.vc up to date. (The new version should appear in public cvs in 24 hours). Note: if you want a slightly older .dll, it is available (with demos) at the 'starkit archive'. thanks, -- Vince <http://www.santafe.edu/~vince> On Tue, 9 Sep 2003, Herng-Jeng Jou wrote: > Hi, > I downloaded plplot 5.2.1, compiled win32 with no problem with VC++ 6.0. > Then I was trying to compiled the win-tk dll. Following the instruction of > Readme.txt, the first error I found was not finding "ltdl.h" file when > compiling > plcore.c. After adding -I..\..\libltdl into compile flag, it was found. > Then following errors > occur when compiling plcore.c: > > ..\..\src/../include\plConfig.h(48) : warning C4005: 'DATA_DIR' : macro > redefinition > unknown(0) : see previous definition of 'DATA_DIR' > ..\..\libltdl\ltdl.h(332) : error C2061: syntax error : identifier 'UNKNOWN' > : > : > : many warning messages > : > ..\..\src\plcore.c(1630) : error C2065: 'DIR' : undeclared identifier > ..\..\src\plcore.c(1630) : error C2065: 'dp_drvdir' : undeclared identifier > ..\..\src\plcore.c(1630) : warning C4047: '=' : 'int ' differs in levels of > indirection from 'void *' > ..\..\src\plcore.c(1630) : error C2106: '=' : left operand must be l-value > ..\..\src\plcore.c(1631) : error C2143: syntax error : missing ';' before > 'type' > ..\..\src\plcore.c(1632) : error C2275: 'lt_dlhandle' : illegal use of this > type as an expression > ..\..\libltdl\ltdl.h(148) : see declaration of 'lt_dlhandle' > ..\..\src\plcore.c(1632) : error C2146: syntax error : missing ';' before > identifier 'dlhand' > ..\..\src\plcore.c(1632) : error C2065: 'dlhand' : undeclared identifier > ..\..\src\plcore.c(1640) : warning C4013: 'opendir' undefined; assuming > extern returning int > ..\..\src\plcore.c(1641) : warning C4047: '==' : 'int ' differs in levels > of indirection from 'void *' > ..\..\src\plcore.c(1647) : error C2065: 'entry' : undeclared identifier > ..\..\src\plcore.c(1647) : warning C4013: 'readdir' undefined; assuming > extern returning int > ..\..\src\plcore.c(1647) : warning C4047: '!=' : 'int ' differs in levels > of indirection from 'void *' > ..\..\src\plcore.c(1649) : error C2223: left of '->d_name' must point to > struct/union > > Could anybody help me resolve these problem? > Or can somebody can share the built dll with me? > > Thanks a lot. > > Jou > > > ======================================= > Herng-Jeng Jou > QuesTek Innovations, LLC > 1820 Ridge Avenue > Evanston, IL 60201 > (Tel) 847.425.8221 > (Fax) 847.328.5855 > hj...@qu... > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general > |
From: Alan W. I. <ir...@be...> - 2003-09-10 16:11:55
|
On 2003-09-10 08:36-0600 Vince Darley wrote: > (The new version should appear in public cvs in 24 hours). 24 hours is what SourceForge advertises, but my experience last week was the public cvs was running behind the developer version by at least 4 days. A quick way to check is to use the viewcvs browser at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/plplot/plplot/sys/win-tk/ to see what the dates are on makePlplotStarkit.tcl and makefile.vc, the two files Vince recently updated. Appropriately change the above directory to check for the availability of any other recent cvs commit on the delayed public cvs server. Note also, that SourceForge are apparently installing new cvs server hardware this month to alleviate the delay problems, but we will just have to wait and see how effective their fix is going to be. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Herng-Jeng J. <hj...@qu...> - 2003-09-11 13:51:48
|
Thanks a lot for your help and great work. I'll wait couple days then for the new cvs to be posted. BTW, it is my understanding that Plplot constructs contour plot only from gridded data, not from ungridded data. Am I correct? If so, what code would you recommend to generate gridded data from ungridded data? Jou At 09:09 AM 9/10/2003 -0700, you wrote: >On 2003-09-10 08:36-0600 Vince Darley wrote: > > > (The new version should appear in public cvs in 24 hours). > >24 hours is what SourceForge advertises, but my experience last week was the >public cvs was running behind the developer version by at least 4 days. A >quick way to check is to use the viewcvs browser at >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/plplot/plplot/sys/win-tk/ >to see what the dates are on makePlplotStarkit.tcl and makefile.vc, the two >files Vince recently updated. > >Appropriately change the above directory to check for the availability of >any other recent cvs commit on the delayed public cvs server. > >Note also, that SourceForge are apparently installing new cvs server >hardware this month to alleviate the delay problems, but we will just have >to wait and see how effective their fix is going to be. > >Alan >__________________________ >Alan W. Irwin >email: ir...@be... >phone: 250-727-2902 > >Astronomical research affiliation with Department of Physics and Astronomy, >University of Victoria (astrowww.phys.uvic.ca). > >Programming affiliations with the PLplot scientific plotting software >package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the >Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project >(lbproject.sf.net). >__________________________ > >Linux-powered Science >__________________________ > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Plplot-general mailing list >Plp...@li... >https://lists.sourceforge.net/lists/listinfo/plplot-general ======================================= Herng-Jeng Jou QuesTek Innovations, LLC hj...@qu... |
From: Alan W. I. <ir...@be...> - 2003-09-11 16:09:35
|
On 2003-09-11 08:49-0500 Herng-Jeng Jou wrote: > BTW, it is my understanding that Plplot constructs contour plot only from > gridded data, not from ungridded data. That's an easy question to answer. For 5.2.1, plgriddata gives us a powerful capability to transform from ungridded data to the gridded data required for the PLplot routines that actually plot. From the 5.2.1 announcement at http://plplot.sourceforge.net/announce-plplot-5.2.1.html: "plgriddata. Generate grid data for 3D plots from irregularly sampled data." "3D" here should be interpreted in its broadest sense; any plot (contour, 3D perspective, shade, 3D shade, etc.) which involves 3D data. plgriddata is documented in http://plplot.sourceforge.net/resources/docbook-manual/plplot-html-5.2.1.cvs.20030828/plgriddata.html. One example of its use is given in example 21 which involves 3D perspective plots and 3D shaded plots, but it should be easy to adapt example/c/x21c.c for contoured plots as well. We should thank Joao Cardoso for donating the plgriddata code to the PLplot project. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: <jc...@fe...> - 2003-09-11 23:01:19
|
On Thursday 11 September 2003 17:09, Alan W. Irwin wrote: | On 2003-09-11 08:49-0500 Herng-Jeng Jou wrote: | > BTW, it is my understanding that Plplot constructs contour plot only | > from gridded data, not from ungridded data. | | That's an easy question to answer. For 5.2.1, plgriddata gives us a | powerful capability to transform from ungridded data to the gridded data | required for the PLplot routines that actually plot. | | From the 5.2.1 announcement at | http://plplot.sourceforge.net/announce-plplot-5.2.1.html: | | "plgriddata. Generate grid data for 3D plots from irregularly sampled | data." | | "3D" here should be interpreted in its broadest sense; any plot (contour, | 3D perspective, shade, 3D shade, etc.) which involves 3D data. plgriddata | is documented in | | http://plplot.sourceforge.net/resources/docbook-manual/plplot-html-5.2.1.cv |s.20030828/plgriddata.html. One example of its use is given in example 21 | which involves 3D perspective plots and 3D shaded plots, but it should be | easy to adapt example/c/x21c.c for contoured plots as well. | | We should thank Joao Cardoso for donating the plgriddata code to the | PLplot project. Hi, plgriddata() uses several algorithms to perform its task. The simplest are nearest neighbors (KNN) based, and require no additional libraries; the more sophisticated algorithms uses the csa (cubic spline approximation) and nn (Natural Neighbours) libraries, both authored by Pavel Sakov (http://www.marine.csiro.au/~sakov/) and both included in the plplot distribution. The nn library needs in addition the qhull library, which is not included in plplot, but it's easy to build and can be obtained at http://savannah.nongnu.org/projects/qhull Good luck Joao | | Alan | __________________________ | Alan W. Irwin | email: ir...@be... | phone: 250-727-2902 | | Astronomical research affiliation with Department of Physics and | Astronomy, University of Victoria (astrowww.phys.uvic.ca). | | Programming affiliations with the PLplot scientific plotting software | package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the | Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project | (lbproject.sf.net). | __________________________ | | Linux-powered Science | __________________________ | | | ------------------------------------------------------- | This sf.net email is sponsored by:ThinkGeek | Welcome to geek heaven. | http://thinkgeek.com/sf | _______________________________________________ | Plplot-general mailing list | Plp...@li... | https://lists.sourceforge.net/lists/listinfo/plplot-general |