[vtkusers] Mac OSX compilation problems

Martin Costabel costabel at wanadoo.fr
Wed Apr 12 03:02:45 EDT 2006


Harry wrote:
> I have been having some trouble compiling VTK 4.4 for OS X 10.4 on the 
> power pc. I had no troubles running cmake and generating makefiles, but 
> midway through make i get the following error.
> 
> Linking CXX executable ../../../bin/GraphicsCxxTests
> /usr/bin/ld: Undefined symbols:
> __ZNSt8ios_base4InitC4Ev
> collect2: ld returned 1 exit status
> make[2]: *** [bin/GraphicsCxxTests] Error 1
> make[1]: *** [Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all] 
> Error 2
> make: *** [all] Error 2

This should be in the list archives many times. Either compile vtk-4.4 
with gcc-3.3 or look for the symbol _ZNSt8ios_base4InitC4Ev in the 
sources and remove it. Better yet, compile vtk-5.0 instead of 4.4.

-- 
Martin




More information about the vtkusers mailing list