[vtkusers] problems installing shared libraries on OSX

Mike Jackson imikejackson at gmail.com
Thu Jun 28 08:27:26 EDT 2007


Couple things. Carbon is fully supported on Intel. I think what you  
may be getting confused is that Apple announced a few weeks back that  
64Bit Carbon will NOT be supported in future OS X releases. ( At  
least at the time of this writing).

Next, VTK depends on a very specific version of Tcl/Tk, which it  
builds. If you have your own version getting in the way, then you  
need to move that aside.

Next, try turning OFF Testing, then rebuilding.

Lastly, are you building against vtk5.0.3 release or a cvs version of  
VTK? If cvs, Why? Usually the release versions are pretty stable and  
usually build without problems on OS X.

Really lastly.. If all else failts, you could try upgrading to Xcode  
2.4.1 if that is possible for your situation. From the looks of your  
error my first inclination is your version of Tcl/Tk is conflicting  
with the version that VTK uses.

-- 
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Jun 27, 2007, at 8:46 PM, Garry Willgoose wrote:

> I'm trying to make the shared libraries for use with Python on OSX  
> 10.4.10 with Xcode 2.3. The cmake window is
>
> BUILD_EXAMPLES                   ON
> BUILD_SHARED_LIBS                ON
> CMAKE_BACKWARDS_COMPATIBILITY    2.4
> CMAKE_BUILD_TYPE
> CMAKE_INSTALL_PREFIX             /usr/local
> CMAKE_OSX_ARCHITECTURES          i386
> CMAKE_OSX_SYSROOT                /Developer/SDKs/MacOSX10.4u.sdk
> PYTHON_DEBUG_LIBRARY             -framework Python
> PYTHON_INCLUDE_PATH              /Library/Frameworks/ 
> Python.framework/Headers
> PYTHON_LIBRARY                   -framework Python
> VTK_APPLE_RESOURCE               /Developer/Tools/Rez
> VTK_DATA_ROOT                    VTK_DATA_ROOT-NOTFOUND
> VTK_USE_CARBON                   ON
> VTK_USE_COCOA                    OFF
> VTK_USE_MPEG2_ENCODER            OFF
> VTK_USE_PARALLEL                 OFF
> VTK_USE_RENDERING                ON
> VTK_USE_RPATH                    OFF
> VTK_WRAP_JAVA                    OFF
> VTK_WRAP_PYTHON                  ON
> VTK_WRAP_TCL                     OFF
>
> The make appears to be OK right up to near the end when I get the  
> following error
>
> Linking CXX executable ../../../bin/GraphicsCxxTests
> [ 99%] Built target GraphicsCxxTests
> [ 99%] Converting Tcl test
> Converting /Users/garrywillgoose/VTK-5/Graphics/Testing/Tcl/ 
> capSphere.tcl
> Conversion failed!
> make[2]: *** [Graphics/Testing/Python/conversion_complete] Error 1
> make[1]: *** [Graphics/Testing/Python/CMakeFiles/ 
> GraphicsPythonTests.dir/all] Error 2
> make: *** [all] Error 2
>
>
> On a perhaps related issue if I change so it uses COCOA and not  
> CARBON (I thought I'd try that because I thought Carbon wasn't  
> supported on Intel) I get the cmake error
>
> CMake Error: Error in cmake code at
> /Users/garrywillgoose/VTK-5/Utilities/TclTk/internals/ 
> CMakeLists.txt:2:
> Unknown CMake command "VTK_GET_TCL_TK_VERSION".
>
>
>
> I assume both errors are related because they both appear to be  
> preparing Tcl/Tk interfaces even though I have not requested Tcl/Tk  
> wrappers. The prior mention of Tcl code in the make is compiling  
> vtkTclTest2Py. As an aside I have Tcl/Tk 8.4.13 installed because I  
> do some occasional stuff with it ... but I didn't request Tcl/Tk  
> wrappers in cmake.
>
> BTW A non shared/no python wrappers make generates the 2nd error.
>
>
>
> ====================================================================
> Prof Garry Willgoose,
> Australian Professorial Fellow in Environmental Engineering,
> School of Engineering, The University of Newcastle,
> Callaghan, 2308
> Australia.
>
> Telluric Research, 100 Barton Street,
> Scone, 2337
> Australia.
> ABN 13 132 312 352
>
> Phone: (International) +61 2 4921 6050 (Tues-Thurs); +61 2 6545  
> 9574 (Fri-Mon)
> FAX: (International) +61 2 4921 6991 (Uni); +61 2 6545 9574  
> (personal and Telluric)
> Env. Engg. Secretary: (International) +61 2 4921 6042
> WWW  :  www.telluricresearch.com
>
> email:  g.willgoose at telluricresearch.com;  
> garry.willgoose at newcastle.edu.au
> email-for-life: garry.willgoose at alum.mit.edu
> ====================================================================
> "Do not go where the path may lead, go instead where there is no  
> path and leave a trail"
>                           Ralph Waldo Emerson
> ====================================================================
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.Please keep messages on- 
> topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list