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 > |