We are compiling the new release just as we did for the former one. Here are Python-relevant options we use with CMake :
-DMITK_USE_Python=ON -DMITK_USE_SYSTEM_PYTHON=ON -DPYTHONPATH=%PYTHONPATH% -DPYTHON_EXECUTABLE=%PYTHON_BASE%/python.exe -DPYTHON_INCLUDE_DIR=%PYTHON_BASE%/include -DPYTHON_LIBRARY=%PYTHON_BASE%/libs/python27.lib -DPYTHON_PACKAGES_PATH=%PYTHON_BASE%/site-packages -DITK_WRAP_PYTHON:BOOL=true
where system values are :
set PYTHON_BASE=c:/dev/tools/anaconda250_amd64 set PATH=%PYTHON_BASE%/;%Path% rem -- set PYTHONPATH=%CD%/ep/Lib/site-packages/ set PYTHONPATH=%PYTHON_BASE% set PYTHON_EXECUTABLE=%PYTHON_BASE%/python.exe
SimpleITK compiles fine, but cannot be installed :
Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:31.24 Performing sitk_python_install_step step for 'SimpleITK' 'PYTHONUSERBASE' is not recognized as an internal or external command, operable program or batch file. 51>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code
I may just be a missing "-D" or "set" but i was unable to find it.