[Insight-developers] ITKExamples: Linker issues with an itk build with vtk

Bill Lorensen bill.lorensen at gmail.com
Tue Nov 13 14:20:30 EST 2012


Matt,

I built the examples against my own ITK that included the vtk glue
classes. In order to get the examples to link I had to add
if(ITKVtkGlue_LOADED)
  find_package( VTK REQUIRED )
  if( ${VTK_FOUND} )
    include( ${VTK_USE_FILE} )
  endif()
endif()

to
src/Examples/CMakeLists.txt

This could very well be an ITK issue, but these changes allowed me to
build and link the examples.

Bill

-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-developers mailing list