[vtkusers] Errors when compiling VTK 5 with VC6

vidyadhar vidyadhar at lucidindia.net
Wed May 3 07:01:44 EDT 2006


Hi,
I used CMake to create projects and workspaces for VTK 5. In CMake I chose to use Build for = Visual Studio 6. After running CMake I loaded the VTK.dsw workspace in VC6 and then used Build to build all projects. All projects compile and link without problems, except vtkVolumeRendering project, which reports 39 errors. Most of the errors (C2653) are related to vtkEvent. Only one of these is pasted below

D:\VTK50\VolumeRendering\vtkVolumeTextureMapper3D.cxx(421) : error C2653: 'vtkEvent' : is not a class or namespace name
        D:\VTK50\VolumeRendering\vtkVolumeTextureMapper3D.cxx(1179) : see reference to function template instantiation 'void __cdecl vtkVolumeTextureMapper3DComputeGradients(double *,class vtkVolumeTextureMapper3D *,double [],unsigned char *,unsigne
d char *,unsigned char *)' being compiled

Other errors were related to VolumeMapperComputeGradientsStartEvent (I counted 3) and one of these is pasted below

D:\VTK50\VolumeRendering\vtkVolumeTextureMapper3D.cxx(421) : error C2065: 'VolumeMapperComputeGradientsStartEvent' : undeclared identifier
        D:\VTK50\VolumeRendering\vtkVolumeTextureMapper3D.cxx(1179) : see reference to function template instantiation 'void __cdecl vtkVolumeTextureMapper3DComputeGradients(double *,class vtkVolumeTextureMapper3D *,double [],unsigned char *,unsigne
d char *,unsigned char *)' being compiled

What is wrong? Can somebody help me in getting rid of these errors?
Thanks
Vidyadhar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060503/f3ce629c/attachment.htm>


More information about the vtkusers mailing list