[vtkusers] help with Mac OS X 10.4.2

Sean McBride sean at rogue-research.com
Fri Aug 5 16:37:24 EDT 2005


On 2005-08-05 13:48, Tolga Tasdizen said:

>I am trying to build VTK on my new Mac laptop. I am running OS X  
>10.4.2. I tried building VTK 4.2 and failed.

As you have discovered, don't bother with vtk 4.4 or earlier... use the
cvs code.  I use gcc 4 and the current vtk does build.

>Now I am trying to build  
>the current source code from CVS but still getting the following error
>
>Building shared library /Users/tolga/VTK-build/bin/ 
>libvtkImaging.dylib...
>ld: multiple definitions of symbol ___divdi3
>/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_divdi3.o) private  
>external definition of ___divdi3 in section (__TEXT,__text)
>/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_divdi3.o)  
>definition of ___divdi3
>ld: multiple definitions of symbol ___udivdi3
>/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_udivdi3.o) private  
>external definition of ___udivdi3 in section (__TEXT,__text)
>/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_udivdi3.o)  
>definition of ___udivdi3

These are warnings, right?  I see them too:
<http://www.vtk.org/Testing/Sites/RogueResearch/MacOSX10.4.2-gcc4.0-
Carbon/20050805-1700-Experimental/BuildWarning.html>

Not sure of the cause...

>/usr/bin/libtool: internal link edit command failed
>make[3]: *** [/Users/tolga/VTK-build/bin/libvtkImaging.dylib] Error 1
>make[2]: *** [default_target] Error 2
>make[1]: *** [default_target_Imaging] Error 2
>make: *** [default_target] Error 2

Dunno what that is. :(  Are you building with Carbon? Cocoa? Which
version of cmake? etc. etc.

-- 
____________________________________________________________
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