On 10-08-11 7:08 AM, Bill Hoffman wrote:
On 8/11/2010 12:53 AM, Nicholas Kinar wrote:
Library/Frameworks/Python.framework/Versions/6.1/lib/vtk-5.4/libvtkHybrid.dylib, file was built for i386 which is not the architecture being linked (x86_64)
You built VTK 32 bit, and are now trying to link it to a 64 bit application. You have to build them the same...



Thanks Bill; this is greatly appreciated! Apparently I have Enthought Python distribution also installed. The file seems to be a pre-built library which is shipped with this particular Python distribution. It is strange that CMake thinks that these are the VTK libraries, but perhaps the Enthought distribution has changed something which then makes CMake believe that the VTK libraries should be within the /Python.framework directory.

Nicholas
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to