[vtkusers] VTK 4.0 Local?

William A. Hoffman billlist at nycap.rr.com
Sat Nov 17 11:21:45 EST 2001


With VTK 4.0 and CMake there is no need for Local anymore.
It is easy to build a project that uses VTK and VTK's wrapping facilities, but
is not directly in the VTK tree.

See Examples/Tutorial/Step1/Cxx  for a simple CMakeLists.txt file, with no 
wrapping,
but uses VTK libraries.

For wrapping see one of the CMakeLists.txt files in VTK, like 
Common/CMakeLists.txt.

specifically this stuff:
IF (VTK_WRAP_TCL)
   VTK_WRAP_TCL(vtkCommonTCL CommonTCL_SRCS Common_SRCS)
   ADD_LIBRARY(vtkCommonTCL CommonTCL_SRCS vtkTclUtil)
   TARGET_LINK_LIBRARIES (vtkCommonTCL ${TCL_LIBRARY})
   INSTALL_TARGETS(/lib/vtk vtkCommonTCL)
ENDIF (VTK_WRAP_TCL)

At 10:44 AM 11/17/2001 -0500, Lauren O'Donnell wrote:
>The slicer classes have not been updated to work with VTK4.0, so even when
>you get the local build directory working, expect problems.  I am not sure
>how much code modification will be needed to compile/run, but if you work
>on it please let us know (slicer-devel at bwh.harvard.edu).
>
>Lauren O'Donnell
>
>
>On Sat, 17 Nov 2001, John Hunter wrote:
>
>
>I would like to use slice, the MIT 3D volume viewing extension to
>vtk.  To install it, you copy a bunch of files to the vtk local subdir
>and configure --with-local.  This worked fine with vtk3.2.
>
>I am currently working with VTK 4.0 which does not have a local subdir
>and I can find nothing in the CMakeCache.txt to configure the make
>with the local files.
>
>Can anyone advise me how to do this?
>
>Thanks,
>John Hunter
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list