[vtkusers] Link error building VTK 4.4 on Mac OS 10.4 with gcc 4.0 (but not 3.3)

Sean McBride sean at rogue-research.com
Wed Jun 8 14:58:40 EDT 2005


Hello again!

I'm using cmake 2.0.6, vtk 4.4, Mac OS 10.4.1, and XCode 2.1.  If I use
gcc 3.3 vtk seems to build just fine, great!  But with gcc 4.0 (which I
want to use) it dies part way through, with the following:

...
Building object file RGrid.o...
Building executable /Users/sean/Desktop/vtk/vtk/VTK_gcc4_plain/bin/
GraphicsCxxTests...
/usr/bin/ld: Undefined symbols:
__ZNSt8ios_base4InitC4Ev
collect2: ld returned 1 exit status
make[5]: *** [/Users/sean/Desktop/vtk/vtk/VTK_gcc4_plain/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
banshee:~/Desktop/vtk/vtk/VTK_gcc4_plain sean$ 

Can anyone help? C++ mangled linker errors are not my speciality :)

Thanks!

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list