BIC-MNI / minc-toolkit-v2

Version 2 of the minc-toolkit, uses tools based on ITK version 4.x
GNU General Public License v3.0
49 stars 21 forks source link

Cmake Errors #158

Closed motazalqaoud closed 2 years ago

motazalqaoud commented 2 years ago

Hello,

I am new to the Minc toolkit, and I am trying to build it on my machine, but I wasn't successful. My machine is windows, VS 2022. I believe that I have errors with the packages that are supposed to be built internally.

" CMake Error at build/EZMINC-prefix/tmp/EZMINC-mkdirs.cmake:6 (file): file problem creating directory: C:/minc-toolkit-v2/build/external/C:/Program Files (x86)/minc-toolkit-v2 Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:1654 (include) C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:3592 (_ep_set_directories) cmake-modules/BuildEZMINC.cmake:55 (ExternalProject_Add) CMakeLists.txt:512 (build_EZMINC): CMake Error at build/BEAST-prefix/tmp/BEAST-mkdirs.cmake:6 (file): file problem creating directory: C:/minc-toolkit-v2/build/external/C:/Program Files (x86)/minc-toolkit-v2

Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:1654 (include) C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:3592 (_ep_set_directories) cmake-modules/BuildBEAST.cmake:67 (ExternalProject_Add) CMakeLists.txt:533 (build_BEAST) "

Looking forward to your kind feedback,

Thank you in advance, Best regards,

Motaz

gdevenyi commented 2 years ago

We can't support Windows as none of us have Windows development machines.

If you want to use minc-toolkit-v2 in Windows, I suggest Ubuntu WSL.

vfonov commented 2 years ago

I would say that I would not support Windows even if I had Windows development machine.

motazalqaoud commented 2 years ago

Thank you for your kind support