<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Akemi,<div><br></div><div>I'm not sure what the problem is exactly, but I would advise starting with a more minimal build first, and then if they succeed you can turn on more options and rebuild (and it won't take nearly as long the next times). </div><div><br></div><div>Here are the minimal commands that I would do to compile the current VTK (git master from last week) with Python wrapping on OS X 10.6.4 (leaving everything else with default values as they come up in ccmake, and using the system Python install):</div><div><br></div><div>(after git-ing or un-tarring the source)</div><div>cd VTK</div><div>mkdir build</div><div>cd build</div><div>ccmake ..</div><div>c </div><div>(wait for configure, then change these options)</div><div>BUILD_SHARED_LIBS: ON</div><div>BUILD_TESTING: OFF</div><div>CMAKE_BUILD_TYPE: Release</div><div>CMAKE_OSX_ARCHITECTURES: x86_64</div><div>VTK_WRAP_PYTHON: ON</div><div>c</div><div>c</div><div>g</div><div>make</div><div><br></div><div>By default mine comes up with VTK_USE_RPATH: ON, CMAKE_OSX_DEPLOYMENT_TARGET: 10.6, VTK_USE_COCOA: ON. You might want to try even not turning on the Python wrapping at first just to make sure you can get through the build without it, and then run ccmake again to turn it on and try again.</div><div><br></div><div>If you still can't get through it with python on, then after it fails, run </div><div>make VERBOSE=1</div><div>and let us know what the last command is that it fails on, the error message, and the VTK version you're trying.</div><div><br></div><div>Good luck,</div><div>-Eric</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><span class="Apple-style-span" style="font-size: medium;"><br></span></div></span>
</div>
<br><div><div>On Jun 24, 2010, at 3:15 PM, Tyler, Akemi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi vtk users,<br><br>I am trying to
install VTK in my apple computer and experiencing a trouble. I have
OS10.6 and Python 2.6 in my computer.<br><br>I follow instructions on :<br><a href="http://www.macresearch.org/installing_vtk_on_mac_os_x" target="_blank">http://www.macresearch.org/installing_vtk_on_mac_os_x</a><br>
and <br><a href="http://www.vtk.org/Wiki/Cocoa_VTK" target="_blank">http://www.vtk.org/Wiki/Cocoa_VTK</a><br><br>In
addition to the changes on these web pages, I put:<br><br>//Build VTK
examples.<br>BUILD_EXAMPLES:BOOL=ON<br><br>//Build Verdict with shared
libraries.<br>
BUILD_SHARED_LIBS:BOOL=ON<br><br>//For backwards compatibility, what
version of CMake commands and<br>// syntax should this version of CMake
try to support.<br>CMAKE_BACKWARDS_COMPATIBILITY:<div>STRING=2.4<br><br>//Minimum
OS X version to target for deployment (at runtime); newer<br>
// APIs weak linked. Set to empty string for default value.<br>CMAKE_OSX_DEPLOYMENT_TARGET:<div>STRING=10.6<br><br>//Path
to a program.<br>PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.6<br><br>//Wrap
VTK classes into the Python language.<br>
VTK_WRAP_PYTHON:BOOL=ON<br><br>//Wrap VTK classes into the TCL language.<br>VTK_WRAP_TCL:BOOL=ON<br><br><br>The
error message I get in the building stage is: <br>[ 69%] Building CXX
object Rendering/CMakeFiles/vtkRenderingPythonD.dir/vtkRenderingPythonInit.cxx.o<br>
Linking CXX shared library ../bin/libvtkRenderingPythonD.dylib<br>[
69%] Built target vtkRenderingPythonD<br>make: *** [all] Error 2<br><br>I
tried different versions of VTK and Python combination. But none of
them worked.<br>
What would you suggest to fix this problem?<br></div>
</div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></body></html>