[vtk-developers] Trouble with libvtkRenderingPythonTkWidgets.so
Andy Cedilnik
andy.cedilnik at kitware.com
Tue Sep 3 09:43:39 EDT 2002
I tried this on Apple and it does not work, because libvtkCommonPython
is .so file and not .dylib.
Andy
On Sat, 2002-08-31 at 23:45, Prabhu Ramachandran wrote:
> Now, vtkPythonUnmanglePointer is defined in Common/vtkPythonUtil.h and
> libvtkRenderingPythonTkWidgets.so is not linked to vtkCommonPython.
>
> Sure enough, adding a -lvtkCommonPython to the compilation command
> fixed the error. Should I go ahead and change
> Rendering/CmakeLists.txt like so?
>
> ADD_LIBRARY(vtkRenderingPythonTkWidgets SHARED
> ${RenderingPythonTkWidgets_SRCS})
> TARGET_LINK_LIBRARIES (vtkRenderingPythonTkWidgets
> vtkRendering
> --> vtkCommonPython
> ${TCL_LIBRARY}
> ${TK_LIBRARY})
> INSTALL_TARGETS(/lib/vtk vtkRenderingPythonTkWidgets)
>
>
> Or is there something amiss and the correct solution is elsewhere?
>
> cheers,
> prabhu
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtk-developers
More information about the vtk-developers
mailing list