[tcljava-dev] Errors compiling for Windows from CVS
Brought to you by:
mdejong
|
From: Donle, R. <RD...@un...> - 2001-08-29 13:21:14
|
I'm trying to compile TclBlend on Windows by using the source from CVS
(which currently appears to be 1.3). In the end, I'd like to use Sun's JDK
1.4, but I get the following compilation errors regardless of the JDK I
compile with:
"D:\Programs\DevStudio\vc\bin\cl.exe" /c /W3 /nologo /YX /D_X86_=1
-I"D:\Programs\DevStudio\vc\include" -ID:\Tcl\include
-ID:\Programs\Tcl8.0.5\generic -ID:\Public\ExpectReplace\tcljava\win
-ID:\Public\ExpectReplace\tcljava\src\native -ID:\Programs\jdk1.4\include
-ID:\Programs\jdk1.4\include\win32 -DWIN32 -D_WIN32 -D_MT -D_DLL
/FoD:\Public\ExpectReplace\tcljava\win\
D:\Public\ExpectReplace\tcljava\src\native\javaCmd.c
javaCmd.c
D:\Public\ExpectReplace\tcljava\src\native\javaCmd.c(80) : error C2282:
'Tcl_ThreadDataKey' is followed by 'dataKey' (missing ','?)
D:\Public\ExpectReplace\tcljava\src\native\javaCmd.c(291) : warning C4013:
'Tcl_GetThreadData' undefined; assuming extern returning int
D:\Public\ExpectReplace\tcljava\src\native\javaCmd.c(291) : error C2065:
'dataKey' : undeclared identifier
D:\Public\ExpectReplace\tcljava\src\native\javaCmd.c(568) : warning C4013:
'Tcl_CreateThreadExitHandler' undefined; assuming extern returning int
D:\Public\ExpectReplace\tcljava\src\native\javaCmd.c(1335) : warning C4013:
'Tcl_UniCharToUtfDString' undefined; assuming extern returning int
NMAKE : fatal error U1077: '"D:\Programs\DevStudio\vc\bin\cl.exe"' : return
code '0x2'
Stop.
I'm using MS Visual C++ 5.0.
I've looked around for Tcl_ThreadDataKey and can't find it in .h files for
tcljava nor Tcl.
Any ideas? Thanks very much.
--
Rob Donle rd...@un...
SQA Tools Engr phone 978-589-0782
Unisphere Networks, Inc. Westford, MA
|