[vtk-developers] vtkLocal and Tcl wrapping link errs

dean.inglis at on.aibn.com dean.inglis at on.aibn.com
Tue Feb 4 17:29:09 EST 2003


Brad,

same link errors as previously. I'm using
ActiveState ActiveTcl 8.3.4.2, building
vtk and vtkLocal MinSizeRel, shared libs.
The key lines I have changed in
vtkLocal/CMakeLists.txt are:

SET(vtkLocal_SRCS
  vtkFollowerLabel.cxx
  vtkAnatomicalLabels.cxx
  vtkImageEuclideanDistanceAnalysis.cxx
  vtkVoxelProfile.cxx
  vtkRulerWidget.cxx
)

SET(vtkLocal_LIBS
  vtkCommon
  vtkFiltering
  vtkImaging
  vtkGraphics
  vtkIO
  vtkRendering
  vtkHybrid
)

  IF(VTK_WRAP_TCL)
    VTK_WRAP_TCL(${PROJECT_NAME}TCL vtkLocalTCL_SRCS ${vtkLocal_SRCS})
    ADD_LIBRARY(${PROJECT_NAME}TCL ${vtkLocalTCL_SRCS})
    TARGET_LINK_LIBRARIES(${PROJECT_NAME}TCL vtkCommonTCL vtkFilteringTCL vtkGraphicsTCL vtkIOTCL vtkImagingTCL vtkRenderingTCL vtkHybridTCL ${PROJECT_NAME})

latest cvs vtk succesfully builds shared libs and wraps tcl with CMake 1.6.2.

Dean







More information about the vtk-developers mailing list