vtkImplicitVolume compilation error

David Gobbi dgobbi at irus.rri.on.ca
Wed Apr 12 16:54:23 EDT 2000


Hi Ranier,

Thanks for the fix, a patch has already been incorporated.
The last nightly was a dud, thanks to yours truly -- In fact,
you should be cautious about the next nightly, as well. 

 - David

On Wed, 12 Apr 2000, Rainer Sabelka wrote:

> I just checked out the latest nightlies and compiled under linux using
> egcs-2.91.66.
> It gave me the following error:
> 
> c++  -g -O2 -fPIC -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H
> -I.  -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging
> -DVTK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED -I./../contrib
> -DVTK_USE_CONTRIB   -DVTK_USE_MESA   -I/usr/X11R6/include
> -I./../common   -I/usr/local/jdk118/include
> -I/usr/local/jdk118/include/linux  -c vtkImplicitVolume.cxx -o
> vtkImplicitVolume.o
> vtkImplicitVolume.cxx: In method
> `vtkImplicitVolume::~vtkImplicitVolume()':
> vtkImplicitVolume.cxx:81: call of overloaded `SetVolume(NULL)' is
> ambiguous
> vtkImplicitVolume.h:98: candidates are:
> vtkImplicitVolume::SetVolume(vtkStructuredPoints *)
> vtkImplicitVolume.h:101:
> vtkImplicitVolume::SetVolume(vtkImageData *)
> 
> below is a fix.
> 
> Regards,
> Rainer
> 
> --- vtk.old/graphics/vtkImplicitVolume.cxx      Wed Apr 12 20:32:20 2000
> 
> +++ vtk/graphics/vtkImplicitVolume.cxx  Wed Apr 12 20:33:00 2000
> @@ -78,7 +78,7 @@
> 
>  vtkImplicitVolume::~vtkImplicitVolume()
>  {
> -  this->SetVolume(NULL);
> +  this->SetVolume((vtkStructuredPoints *)NULL);
>    this->PointIds->Delete();
>  }
> 
> 
> --------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at public.kitware.com>. For help, send message body containing
> "info vtkusers" to the same address.
> --------------------------------------------------------------------
> 

-- 
--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list