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

David Gobbi dgobbi at irus.rri.ca
Fri Feb 15 07:55:58 EST 2002


Hi Vincent,

You can try explicitly setting the TCL variables for cmake so that
they use your installed version of tcl/tk, e.g.

TCL_INCLUDE_PATH:PATH=C:/Program Files/Tcl/include
TCL_LIBRARY:FILEPATH=C:/Program Files/Tcl/lib/tcl83.lib
TCL_TCLSH:FILEPATH=C:/PROGRA~1/Tcl/bin/tclsh83.exe
TK_INCLUDE_PATH:PATH=C:/Program Files/Tcl/include
TK_INTERNAL_PATH:PATH=V:/dgobbi/VTK/Rendering/tkInternals/tk83
TK_LIBRARY:FILEPATH=C:/Program Files/Tcl/lib/tk83.lib
TK_WISH:FILEPATH=C:/PROGRA~1/Tcl/bin/wish83.exe

 - David

On Fri, 15 Feb 2002, Vincent Daanen wrote:

>
> Hi David,
>
> the version of tcl/Tk is 8.3.3.
>
> I never install another version, so there is no conflict with previous
> versions !
>
>  Vince
>
> David Gobbi wrote:
> >
> > 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
> > >
> > >
> > >
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
>
>




More information about the vtkusers mailing list