[vtkusers] Re: Missing VTK library, Mac OS X
Theodore D. Sternberg
tdsternberg at lbl.gov
Tue Mar 16 15:25:35 EST 2004
OK, it's pretty clear that libvtkRenderingPythonTkWidgets.dylib was not
meant to be, on Mac OS X, at least not if you want Cocoa. The question
is, why not, and is there a good alternative?
Here's the relevant text from Rendering/CMakeLists.txt:
IF (VTK_WRAP_PYTHON)
IF (TK_LIBRARY)
IF(NOT VTK_USE_COCOA)
SET(RenderingPythonTkWidgets_SRCS
vtkTkWidgetsInit.cxx
vtkTkRenderWidgetPython.cxx
vtkTkImageViewerWidgetPython.cxx
)
ADD_LIBRARY(vtkRenderingPythonTkWidgets SHARED
${RenderingPythonTkWidgets_SRCS})
TARGET_LINK_LIBRARIES (vtkRenderingPythonTkWidgets
vtk${KIT}
${TCL_LIBRARY}
${TK_LIBRARY})
INSTALL_TARGETS(/lib/vtk vtkRenderingPythonTkWidgets)
ENDIF(NOT VTK_USE_COCOA)
ENDIF (TK_LIBRARY)
ENDIF (VTK_WRAP_PYTHON)
On Tue, 16 Mar 2004, Theodore D. Sternberg wrote:
> When building VTK4.4 on Mac OS X, it doesn't produce a
> libvtkRenderingPythonTkWidgets.dylib (or .so). (On Linux it does build
> this library.) As a consequence, the vtkTkRenderWidget can't be used.
>
> Presuming this reflects a problem with one of the CMakeLists files, could
> someone suggest a fix there?
>
> Theodore Sternberg
> Lawrence Berkeley National Laboratory
More information about the vtkusers
mailing list