[vtkusers] 'Undefined Reference' Error Message

Jeremy Stout stout.jeremy at gmail.com
Thu Oct 21 09:50:17 EDT 2004


It seems that the system administrator upgraded gcc between when I
compiled vtk and now. I'll recompile vtk and see if that works. Thank
you for the suggestion.

Jeremy Stout


On Wed, 20 Oct 2004 16:32:33 -0400, Brad King <brad.king at kitware.com> wrote:
> Jeremy Stout wrote:
> 
> > If I use those commands, here is what I get:
> >
> > [stout at energy stout]$ cd /usr/local/lib/vtk
> > [stout at energy vtk]$ nm libvtkParallel.so| c++filt| grep vtkMPIController::New
> > 0016db2c W vtkMPIController::NewInstanceInternal(void) const
> > 0016db50 W vtkMPIController::NewInstance(void) const
> > 00107000 T vtkMPIController::New(void)
> > [stout at energy vtk]$ nm libvtkGraphics.so| c++filt| grep vtkConeSource::New
> > 001dcb34 W vtkConeSource::NewInstanceInternal(void) const
> > 001dcb58 W vtkConeSource::NewInstance(void) const
> > 000d5df0 T vtkConeSource::New(void)
> >
> > It has been about a month since I compiled VTK, but I believe I
> > included MPI support.
> 
> Are you using the same version of GCC to build your program that you did
> to build VTK?  C++ is not link-compatible across compilers or even
> compiler versions (at least until the multi-vendor standard is widely
> accepted).
> 
> -Brad
> 
>



More information about the vtkusers mailing list