[vtkusers] Using VTK with CMake: link errors

Nicholas Kinar n.kinar at usask.ca
Wed Aug 11 11:50:26 EDT 2010


On 10-08-11 8:36 AM, Nicholas Kinar wrote:
>
>> Does this file actually exist?
>> /Library/Frameworks/Python.framework/Versions/6.1/lib/vtk-5.4/libvtkHybrid.dylib
>>
>> The question is, how did you get a VTK library inside your python 
>> framework? That is completely unexpected. (As is a 6.1 version of 
>> python... as far as I know, version 6.1 of python is still far in the 
>> future...)
>>
>
>
> Thank you very much for your response; this is greatly appreciated!  
> Apparently the /6.1/lib/vtk-5.4 directory is created when the 
> Enthought Python distribution is installed.

Strangely enough, after uninstalling the Enthought Python framework 
(i.e. by deleting the Versions/6.1 directory), CMake compiles and links 
the program correctly.  So apparently the problem was the Enthought 
Python distribution directory.

So thank you very much for your help!

Nicholas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100811/9c7ebb51/attachment.htm>


More information about the vtkusers mailing list