[vtkusers] Compilation problems with VTK

Dr Gavin Tabor G.R.Tabor at exeter.ac.uk
Mon Jan 5 07:59:05 EST 2004


Dear All,

I've picked up some work using VTK after a bit of a break and am trying
to compile version 4.2. I keep getting the error :

Building executable /opt/VTK/bin/GraphicsCxxTests...
/usr/X11R6/lib/libGLU.so: undefined reference to `operator
new(unsigned)@GLIBCPP_3.2'
/usr/X11R6/lib/libGLU.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info at GLIBCPP_3.2'
/usr/X11R6/lib/libGLU.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info at GLIBCPP_3.2'
/usr/X11R6/lib/libGLU.so: undefined reference to
`__gxx_personality_v0 at CXXABI_1.2'
/usr/X11R6/lib/libGLU.so: undefined reference to `operator
delete[](void*)@GLIBCPP_3.2'
collect2: ld returned 1 exit status
make[5]: *** [/opt/VTK/bin/GraphicsCxxTests] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Cxx] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Graphics_Testing] Error 2
make: *** [default_target] Error 2

I'm using gcc-3.3.1 on Red Hat Linux. Can someone give me some hints as
to what I'm doing wrong here?

Gavin



-- 
Dr Gavin Tabor
Lecturer, Department of Engineering
School of Engineering, Computer Science and Mathematics
University of Exeter




More information about the vtkusers mailing list