Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Windows Visual Studio 2022 #86

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

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.

2 participants