[vtkusers] Python and cvs update
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon May 27 13:43:07 EDT 2002
>>>>> "MM" == Mathieu Malaterre <mmalat at irus.rri.ca> writes:
MM> Hi there, I tried a cvs update this morning. And here is what
MM> I get.
MM> /shalom/data/mmalat/VTKBin/Wrapping/Python/vtkpython.cxx:36:
MM> undefined reference to `Py_Main'
MM> /shalom/data/mmalat/VTKBin/Lib//libvtkCommonPython.so:
MM> undefined reference to `openpty'
MM> /shalom/data/mmalat/VTKBin/Lib//libvtkCommonPython.so:
MM> undefined reference to `forkpty'
I guess that you haven't set the PYTHON_LIBRARY variable in your
CMakeCache.txt to point to your Python library. Just set it, run
cmake followed by make and your problem will disappear. My setting
looks like this:
PYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.1.so
prabhu
More information about the vtkusers
mailing list