[vtkusers] Building VTK 4.2 on Mac OS X 10.4.x

Andres Munarriz munarriz.a at gmail.com
Tue May 9 22:32:10 EDT 2006


Hi everyone,

I've been trying to build VTK 4.2 and VTK 4.4.2 on my Mac running Mac
OS X 10.4 (tiger) but haven't been able to.

CMake runs smoothly but when I run make (if I enable the
BUILD_SHARED_LIB option) I get the following error:

Linking CXX shared library ../bin/libvtkCommon.dylib
ld: Undefined symbols:
__ZNSt8ios_base4InitC4Ev
/usr/bin/libtool: internal link edit command failed
make[2]: *** [bin/libvtkCommon.dylib] Error 1
make[1]: *** [Common/CMakeFiles/vtkCommon.dir/all] Error 2
make: *** [all] Error 2

(if I don't build shared libs)

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


I found Matthew's response to a similar error but it regarded building
what seems to be a different version of VTK on Mac OS X 10.3.  Has
anyone been able to succesfully build either of these VTK releases on
a similar configuration?

Thanks in advance.

--
-æ- Andrés E. Munarriz Soto -æ-



More information about the vtkusers mailing list