[vtkusers] Using VTK with CMake: link errors

Nicholas Kinar n.kinar at usask.ca
Tue Aug 10 17:04:10 EDT 2010


>> Linking CXX executable fdtd-cuda-1
>> ld: warning: in
>> /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)
>>      
> Looks like you are mixing 32 bit and 64 bit.
>
> John
>
>    
Hello John,

Thank you very much for your response!  Yes - it does indeed appear that 
there is a mix between 32-bit and 64-bit libraries, but why CMake thinks 
that the VTK library should be in the Python framework directory is a 
minor mystery for me.

Nicholas



More information about the vtkusers mailing list