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

Sebastien BARRE sebastien.barre at kitware.com
Thu Feb 14 08:29:21 EST 2002


At 2/14/02 08:26 AM, 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 ??

Ouch no, it seems that a CVS conflict is in the nightly source archive :(
We will investigate that today.
Please try to download the release candidate instead, while we fix the problem.
Thank you


--
Sebastien Barre




More information about the vtkusers mailing list