[vtkusers] problems compiling Vtk4.1.1 with msvc 6.0 on Win200

Will Schroeder will.schroeder at kitware.com
Thu Feb 14 08:33:07 EST 2002


Hi Vincent-

These <<<<< are CVS conflict marks. It looks like someone at Kitware edited 
a file, updated CVS (which inserted the conflict marks), and didn't catch 
the problem. Someone at Kitware will clean this up today I'm sure. (I'm 
travelling today and can't do it myself.)

Will

At 08:26 AM 2/14/2002 +0100, Vincent Daanen wrote:
>Hi,
>
>I just donwload (vtk 4.1.1) vtkNightlySrc.zip from vtk web site.
>After running cmake, I get a vtk.dsw project I can open and compile.
>
>When compiling vtkDataObject.cxx
>I got some errors :
>         D:\VTK4.11\Common\vtkDataObject.cxx(159) : error C2143: syntax 
> error :
>missing ';' before '<<'
>         D:\VTK4.11\Common\vtkDataObject.cxx(166) : error C2143: syntax 
> error :
>missing ';' before '>>'
>         D:\VTK4.11\Common\vtkDataObject.cxx(167) : error C2143: syntax 
> error :
>missing ';' before '{'
>         D:\VTK4.11\Common\vtkDataObject.cxx(168) : error C2440: '=' : cannot
>convert from 'class vtkProcessObject ** ' to 'class vtkObject ** '
>                         Types pointed to are unrelated; conversion requires
>reinterpret_cast, C-style cast or function-style cast
>         D:\VTK4.11\Common\vtkDataObject.cxx(180) : error C2181: illegal else
>without matching if
>
>Here a the lines
>
>         159     <<<<<<< vtkDataObject.cxx
>                 if ( this->NumberOfConsumers > 0 )
>                 =======
>                 this->Consumers = new vtkObject* [this->NumberOfConsumers];
>                 int cnt = 0;
>                 int i;
>                 for (i = 0; i <= this->NumberOfConsumers; i++)
>         166     >>>>>>> 1.82
>         167     {
>         168     this->Consumers = new vtkProcessObject* 
> [this->NumberOfConsumers];
>
>
>I guess problems come from <<<<<<<<<<<, ========== and >>>>>>>>>>
>'comments'.
>Should I just comment these lines in to get vtk compiling or do they
>have a special signification ??
>
>  Vince
>
>
>--
>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
>_______________________________________________
>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