SimpleITK / SimpleITKPythonPackage

A setup script to generate a Python Wheels
17 stars 11 forks source link

Path is too long to build on windows #22

Closed blowekamp closed 7 years ago

blowekamp commented 7 years ago

Building on Windows I get the following error with Py3.5, VS14, no Ninja

Performing configure step for 'ITK' Not searching for unused variables given on the command line. loading initial cache file C:/d/p/_skbuild/cmake-build/SimpleITK-superbuild/ITK-build/CMakeCacheInit.txt CMake Error at CMakeLists.txt:30 (message): ITK source code directory path length is too long (52 > 50).Please move the ITK source code directory to a directory with a shorter path.

Cloning this repository into "C:\d\p" is a short path, but not short enough.

jcfr commented 7 years ago

We could have

C:/d/p/_skbuild/cmake-build/SITK-superbuild/ITK-build instead of C:/d/p/_skbuild/cmake-build/SimpleITK-superbuild/ITK-build