[vtkusers] compile vtk with python

George A. Dowding dowdingg at math.uaa.alaska.edu
Sun Mar 23 20:19:38 EST 2003


Hello,

I am trying to compile vtk 4.2 with the python wrapper.  I can not
find a good setting for the ccmake variable

PYTHON_LIBRARY

This is what the the ccmake help says:

Current option is: PYTHON_LIBRARY
 Help string for this option is: Where can one of the python23, python2.3,
 python22, python2.2, python21, python2.1, python20, python2.0, python16,
 python1.6, python15 or python1.5 libraries be found


If I set it to /usr/local/lib/python2.2 and try to compile (with
fingers crossed), I get this error.

[...lots of stuff being built...]
Building shared module /usr/home/george/build/VTK-4.2.1/bin/libvtkCommonPython.so...
/usr/local/lib/python2.2: file not recognized: File format not recognized
*** Error code 1

Thanks.


-- 
How many times before 
could you tell I didn't care
when you turned your back on me 
I new we'd get nowhere

New Order, Substance Disk 2,  "Lonesome Tonight" 

dowdingg at math.uaa.alaska.edu 
http://www.math.uaa.alaska.edu/~dowdingg





More information about the vtkusers mailing list