Skip to content

Conversation

@alonsoJASL
Copy link
Collaborator

To make this build work, apart from the changes in the code, which are few, one needs to do the following:

  • Specify manually the ITK_USE_FILE in the VMTK/CMakeLists.txt file (See specification below)
  • Comment in vtkVmtk/Segmentation/CMakeLists.txt the building of vtkVmtkMedialCurve...cxx, it is not needed.

Set ITK_USE_FILE

  if ( NOT ITK_FOUND )
  message( STATUS "ITK not found. Please set ITK_DIR." )
    find_package( ITK REQUIRED )
    include( ${ITK_USE_FILE} )

And modify it to your include file, like

  if ( NOT ITK_FOUND )
  message( STATUS "ITK not found. Please set ITK_DIR." )
    find_package( ITK REQUIRED )
    include( "$CEMRG_BUILD/ep/src/ITK/CMake/UseITK.cmake")

@alonsoJASL alonsoJASL requested a review from sagebei November 12, 2024 16:19
@JostMigenda
Copy link
Collaborator

Could you add these extra steps to the wiki page as well, to make sure the build instructions are all in one place? If those are only listed here in the PR, people will struggle to find them later once this PR is merged and closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants