[vtkusers] vtk under amd x86_64

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri Apr 16 11:20:38 EDT 2004


Salut Jean-Philippe,

	I think you didn't set VTK properly, in

PYTHON_LIBRARY:FILEPATH=/usr/lib/python2.2/config/libpython2.2.a

You are setting a directory instead of a library. Turn python wrapping 
off or set python lib properly.


Here is my CMakeCache.txt:

PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.2
PYTHON_INCLUDE_PATH:PATH=/usr/include/python2.2
PYTHON_LIBRARY:FILEPATH=/usr/lib/python2.2/config/libpython2.2.a
PYTHON_UTIL_LIBRARY:FILEPATH=/usr/lib/libutil.so

HTH
Mathieu

Jean-Philippe Tardif wrote:
> Hi,
> 
> is x86_64 support by vtk? I've been trying to compile vtk 4.2 under 
> fedora core 1 x86_64 and get this error:
> 
>    Building shared module /home/vision/VTK/bin/libvtkCommonPython.so...
> /usr/lib64/python2.2: file not recognized: Is a directory
> collect2: ld returned 1 exit status
> make[3]: *** [/home/vision/VTK/bin/libvtkCommonPython.so] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Common] Error 2
> make: *** [default_target] Error 2
> 
> 
> python is version 2.2 and is compiled in 64 bit.
> 
> Any ideas?
> 
> Thanks.
> 






More information about the vtkusers mailing list