I try to compile InsightToolkit-5.4rc01 on Win10 with cmake and VisualStudio 2022.
cmake error:
CMake Error at Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt:222 (message):
You cannot have a + in your binary path
CMake Error at Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt:225 (message):
You cannot have a + in your source path
CMake Error at Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt:230 (if):
if given arguments:
“C:/C++/InsightToolkit-5.4rc01/build/Modules/ThirdParty/VNL/src/vxl” “MATCHES” “C:/C++/InsightToolkit-5.4rc01/Modules/ThirdParty/VNL/src/vxl”
Regular expression
“C:/C++/InsightToolkit-5.4rc01/Modules/ThirdParty/VNL/src/vxl” cannot
compile
Configuring incomplete, errors occurred!
What is going wrong?
Thanks