[vtk-developers] Build error VTK CVS (vtkRenderer::GetLighting() ??)

John Biddiscombe john.biddiscombe at mirada-solutions.com
Mon Dec 15 04:22:16 EST 2003


I had exactly the same trouble. My copy of the classes you mention
appeared to be up-to-date, but when I compared it to the cvs version, it
was different. I deleted all classes in my Rendering dir (first saving
all my local changes), then did a cvs update on the clean dir, then put
changes back. It compiled ok after that. I can only guess that at some
point my cvs/entries files got corrupted so that they held wrong version
info or something.

JB


----
John Biddiscombe
Mirada Solutions (a division of CTI Molecular Imaging Inc.)




> -----Original Message-----
> From: vtk-developers-admin at vtk.org 
> [mailto:vtk-developers-admin at vtk.org] On Behalf Of Charl P. Botha
> Sent: 15 December 2003 08:54
> To: VTK Developers
> Subject: [vtk-developers] Build error VTK CVS 
> (vtkRenderer::GetLighting() ??)
> 
> 
> Dear list,
> 
> I get the following error when trying to build current CVS:
> 
> /home/cpbotha/DoNotBackup/build/VTK/Rendering: building 
> default_target Building object file vtkOpenGLVolumeRayCastMapper.o...
> /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkOpenGLVolumeR
> ayCastMapper.cxx: In method `void 
> vtkOpenGLVolumeRayCastMapper::RenderTexture(vtkVolume *, 
> vtkRenderer *)':
> /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkOpenGLVolumeR
> ayCastMapper.cxx:138: no matching function for call to 
> `vtkRenderer::GetLighting ()'
> /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkOpenGLVolumeR
> ayCastMapper.cxx:346: no matching function for call to 
> `vtkRenderer::GetLighting ()'
> /home/cpbotha/DoNotBackup/build/VTK/Rendering/vtkOpenGLVolumeR
> ayCastMapper.cxx:393: no matching function for call to 
> `vtkRenderer::GetLighting ()' distcc[29010] ERROR: compile on 
> localhost failed with exit code 1
> make[3]: *** [vtkOpenGLVolumeRayCastMapper.o] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Rendering] Error 2
> make: *** [default_target] Error 2
> 
> This GetLighting() calls seem to be new, but I can't find ANY 
> traces in CVS of its addition.  
> "cvs -z3 diff -u -r 1.1 vtkOpenGLVolumeRayCastMapper | grep 
> GetLighting" doesn't yield anything.  In the VTK4 checkout, 
> this call doesn't exist. 
> Grepping for "Lighting" in all .h and .cxx files doesn't give 
> any answers either, except for the calls to GetLighting().
> 
> Can anyone help with this?  The dashboard seems to be okay, 
> which makes me think that I've somehow managed to break my 
> checkout.  It's not urgent, I'm just wondering what happened here.
> 
> Thanks,
> Charl
> 
> -- 
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
> 
> 
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org 
> http://www.vtk.org/mailman/listinfo/v> tk-developers
> 



More information about the vtk-developers mailing list