[vtkusers] compiling vtk4.0 release on win2000 : Errors !

David Gobbi dgobbi at irus.rri.ca
Fri Feb 15 06:24:04 EST 2002


Hi Vincent,

Please post what version(s) of Tcl/Tk you have installed on your
machine.  This looks suspiciously like a conflict between
Tcl/Tk 8.0 and Tcl/Tk 8.2/3/4.  If you still have Tcl/Tk 8.0
sitting around somewhere then I suggest that you remove it
from your system and try compiling again.

  - David

On Fri, 15 Feb 2002, Vincent Daanen wrote:

>
>  Hi,
> I tried to compile vtk 4.0 release on win2000 with msvc6.0.
>
> Before, i downloaded the new release of cmake.
>
> When compiling vtk, I get these errors :
>
> Compiling...
> vtkTkImageViewerWidget.cxx
> D:\VTK40\Rendering\tkInternals\tclInt.h(796) : error C2226: syntax error
> : unexpected type 'Tcl_ThreadCreateProc'
> D:\VTK40\Rendering\tkInternals\tkInt.h(36) : error C2040:
> 'Tk_PostscriptInfo': 'overloaded function type' differs in levels of
> indirection from 'struct Tk_PostscriptInfo_ *'
> vtkTkImageWindowWidget.cxx
> D:\VTK40\Rendering\tkInternals\tclInt.h(796) : error C2226: syntax error
> : unexpected type 'Tcl_ThreadCreateProc'
> D:\VTK40\Rendering\tkInternals\tkInt.h(36) : error C2040:
> 'Tk_PostscriptInfo': 'overloaded function type' differs in levels of
> indirection from 'struct Tk_PostscriptInfo_ *'
> vtkTkRenderWidget.cxx
> D:\VTK40\Rendering\tkInternals\tclInt.h(796) : error C2226: syntax error
> : unexpected type 'Tcl_ThreadCreateProc'
> D:\VTK40\Rendering\tkInternals\tkInt.h(36) : error C2040:
> 'Tk_PostscriptInfo': 'overloaded function type' differs in levels of
> indirection from 'struct Tk_PostscriptInfo_ *'
> Generating Code..
> Error executing cl.exe.
>
> ALL_BUILD - 6 error(s), 0 warning(s)
>
>
> Does anybody know what to do ??
>
>   Vince
>
>
>




More information about the vtkusers mailing list