# SimpleITK build error on windows

**URL:** https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574
**Category:** Engineering
**Created:** [June 25, 2025, 9:32am UTC](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574 "2025-06-25T09:32:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Limz](https://discourse.itk.org/letter_avatar_proxy/v4/letter/l/a8b319/32.png) [@Limz](https://discourse.itk.org/u/Limz)
#### Post date: [June 25, 2025, 9:32am UTC](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574/1 "2025-06-25T09:32:41Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)
#### Post date: [June 25, 2025, 10:16am UTC](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574/2 "2025-06-25T10:16:00Z")

</div>

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 of 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.

---

<div class="post-metadata">

### Author: ![Limz](https://discourse.itk.org/letter_avatar_proxy/v4/letter/l/a8b319/32.png) [@Limz](https://discourse.itk.org/u/Limz)
#### Post date: [June 25, 2025, 1:12pm UTC](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574/3 "2025-06-25T13:12:21Z")

</div>

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

---

<div class="post-metadata">

### Author: ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)
#### Post date: [June 26, 2025, 12:33pm UTC](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574/4 "2025-06-26T12:33:33Z")

</div>

There is a pull request to address this configuration issue:

> <https://github.com/SimpleITK/SimpleITK/pull/2340>

Did you resolve the problem by updating the CMake version or building release? Feed back on the 3.0 development and update build processes is appriciated.

---

<div class="post-metadata">

### Author: ![Limz](https://discourse.itk.org/letter_avatar_proxy/v4/letter/l/a8b319/32.png) [@Limz](https://discourse.itk.org/u/Limz)
#### Post date: [June 26, 2025, 2:06pm UTC](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574/5 "2025-06-26T14:06:15Z")

</div>

Yes, the problem was resolved by using the release branch.  
Thanks
