examplesPython questions
    Les Schaffer 
    godzilla at netmeg.net
       
    Wed Sep 15 10:29:07 EDT 1999
    
    
  
> Did you configure "--with-patented"?  Do you have the patented lib
> path in your PYTHONPATH?
this is not the problem....
python is loading the library, but it has an undefined symbol.....
the symbol comes in from 
nm vtkSliceCubesPython.o | grep vtkVolumeReader_Typecast
         U vtkVolumeReader_Typecast__FPvPc
it is defined in libVTKGraphicsPython.so, so if you add a -l for that
lib to the make for the patented lib, it works fine...
ie, change line in the Makefile in the patented subdir from:
PYTHON_LIBS = -L${VTK_OBJ}/graphics -lVTKGraphics -L../common -lVTKCommonPython ${XLIBS} ${GRAPHICS_API_LIBS}
to:
PYTHON_LIBS = -L${VTK_OBJ}/graphics -lVTKGraphics -lVTKGraphicsPython -L../common -lVTKCommonPython ${XLIBS} ${GRAPHICS_API_LIBS}
and rebuild libVTKPatentedPython.so all is well -- headBone, for
example  runs fine (well, almost fine, it runs okay but i dont have
the vtkdata installed yet)
les
--
____        Les Schaffer              ___| --->> Engineering R&D <<---
Theoretical & Applied Mechanics          |  Designspring, Inc. 
Center for Radiophysics & Space Research |  http://www.designspring.com/
Cornell Univ.  schaffer at tam.cornell.edu  |  les at designspring.com
-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------
    
    
More information about the vtkusers
mailing list