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

Vincent Daanen Vincent.Daanen at imag.fr
Fri Feb 15 07:45:15 EST 2002


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

-- 
Vincent Daanen,
Research Engineer- Post Doctoral Position
Laboratoire TIMC/IMAG Equipe GMCAO - Université Joseph Fourier - CNRS
UMR 5525
Faculté de Médecine - Domaine de la Merci - 38706 La Tronche cedex -
France
Tel: +33 (0)4 76 54 95 23
Vincent.Daanen at imag.fr



More information about the vtkusers mailing list