I was trying to build up Slicer by using source code from github.
I followed the instructions from here: Windows — 3D Slicer documentation
I also checked with the Install Prerequisites
Cmake: cmake version 3.28.6
Git: git version 2.50.1.windows.1
Qt5: 5.12.2
Visual Studio: Desktop development with C++ (checked), MSVC v143 - VS 2022 C++ x64/x86 build tools (checked), Windows 11 SDK (checked)
–
I created two folders, D:\D\S and D:\D\SR
I am using D:\D\SR as <Slicer_BUILD>
–
I use CMake (cmake-gui) to configure and build Slicer. I follow every step from the website.
–
I opened Visual Studio, switched to Release mode, right-clicked on ALL_BUILD, and selected Build. After several hours, the build failed. And the error messages are shown below
–
I navigate to D:\D\SR\python-install\bin and type the command
./python.exe -m pip install --upgrade setuptools wheel
Muen@MUEN MINGW64 /d/D/SR/python-install/bin
$ ./python.exe -m pip show setuptools
Name: setuptools
Version: 80.9.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page:
Author:
Author-email: Python Packaging Authority <distutils-sig@python.org>
License-Expression: MIT
Location: D:\D\SR\python-install\Lib\site-packages
Requires:
Required-by:
I’ve checked the setuptools version is above 42 (mine is 80.9.0). I went back to Visual Studio and right clicked “SimpleSTK” and selected “Build” again.
But the errors remain.
Could someone please give me some suggestions? Thanks