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