SimpleITK build error on windows

Hi Guys,
Iam new in ITK,
And I am having issues for building the SimpleITK on windows using cmake-gui as explained on the webside and using SimpleITK/SuperBuild. After generating the visual studio solution, I run ALL_BUILD and got this error : “NOT” “EXISTS” “F:/SimpleITK/SimpleITK-build/venv/Scripts/python.exe” “OR” “NOT” “IS_EXECUTABLE” “F:/SimpleITK/SimpleITK-build/venv/Scripts/python.exe”
I saw that there the venv folder with all the contents related to python (3.13 version).
Am i missing something?
Thanks!

Hello,

SimpleITK 3.0 development is underway which is completely converting the code generation system form a Lua system to a jinja2 template code generations system, which requires python. This will cause some volatility in the master/main branch.

I believe that error is caused by using the “IS_EXECUTABLE” if statement feature on a version os CMake that is older and does not support it. Updating to a newer version CMake would address this issue.

However, I would recommend building off the release branch and not the master/main branch if you would like stability over the latest features in SimpleITK/ITK.

4 Likes

Thank you @blowekamp , that was the problem! Now the solution is successfully built.

3 Likes