SlicerRt / SlicerRT

Open-source toolkit for radiation therapy research, an extension of 3D Slicer. Features include DICOM-RT import/export, dose volume histogram, dose accumulation, external beam planning (TPS), structure comparison and morphology, isodose line/surface generation, etc.
https://slicerrt.org
126 stars 60 forks source link

Plastimatch build fails #198

Closed cpinter closed 2 years ago

cpinter commented 2 years ago

Latest Slicer, latest SlicerRT, and I get this when starting the SlicerRT superbuild:

Build log c:\d\_Extensions>"c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj /p:Configuration=Release Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Build started 2021-09-30 14:30:01. Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" on node 1 (default targets). Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (1) is building "C:\d\_Extensions\SlicerRT_R\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). InitializeBuildStatus: Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. CustomBuild: All outputs are up-to-date. FinalizeBuildStatus: Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". Done Building Project "C:\d\_Extensions\SlicerRT_R\ZERO_CHECK.vcxproj" (default targets). Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (1) is building "C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj" (3) on node 1 (default targets). InitializeBuildStatus: Touching "x64\Release\Plastimatch\Plastimatch.tlog\unsuccessfulbuild". CustomBuild: "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-patch.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLASTI MATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-UPDATE' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22 da4e93771a7c\Plastimatch-update.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-configure.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PL ASTIMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-PATCH' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8 f22da4e93771a7c\Plastimatch-patch.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-build.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLASTI MATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-CONFIGURE' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8 f22da4e93771a7c\Plastimatch-configure.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-install.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLAS TIMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-BUILD' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f2 2da4e93771a7c\Plastimatch-build.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLA STIMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-INSTALL' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac 8f22da4e93771a7c\Plastimatch-install.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\58dea2f105b6740e15ac75a3a1dd0f34\Plastimatch.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\CMAKEFILES\R ELEASE\PLASTIMATCH-COMPLETE' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete. rule'. The items cannot be built in parallel." Performing update step for 'Plastimatch' No patch step for 'Plastimatch' Performing configure step for 'Plastimatch' loading initial cache file C:/d/_Extensions/SlicerRT_R/Plastimatch-prefix/tmp/Plastimatch-cache-Release.cmake -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19043. -- DCMTK version 3.6.6 found. -- Could NOT find libLBFGS (missing: libLBFGS_LIBRARY libLBFGS_INCLUDE_DIR) -- Could NOT find nlopt (missing: nlopt_LIBRARY nlopt_INCLUDE_DIR) -- Check for compiler OpenMP support... -- OpenMP flags "/openmp", OpenMP libraries "" -- CPU does not support SSE2. -- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS) -- Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY) -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Looking for wxWidgets - not found. -- Looking for Matlab - not found. -- Looking for Octave - not found. -- Plastimatch version is 6307b219 CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): -- Configuring incomplete, errors occurred! Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) (found suitable version "3.8.1", minimum required is "3.6") Reason given by package: Interpreter: Wrong architecture for the interpreter "C:/Users/pinte/AppData/Local/Programs/Python/Python38-32/python.exe" Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.19/Modules/FindPython/Support.cmake:3148 (find_package_handle_standard_args) C:/Program Files/CMake/share/cmake-3.19/Modules/FindPython3.cmake:398 (include) C:/d/S4R/VTK-build/lib/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:303 (find_package) C:/d/S4R/VTK-build/lib/cmake/vtk-9.0/vtk-config.cmake:144 (include) C:/d/S4R/VTK-build/vtk-config.cmake:1 (include) C:/d/S4R/ITK-build/lib/cmake/ITK-5.2/Modules/ITKVtkGlue.cmake:30 (find_package) C:/d/S4R/ITK/CMake/ITKModuleAPI.cmake:76 (include) C:/d/S4R/ITK/CMake/ITKModuleAPI.cmake:31 (itk_module_load) C:/d/S4R/ITK/CMake/ITKModuleAPI.cmake:129 (_itk_module_config_recurse) C:/d/S4R/ITK-build/ITKConfig.cmake:80 (itk_module_config) CMakeLists.txt:574 (find_package) See also "C:/d/_Extensions/SlicerRT_R/Plastimatch-build/CMakeFiles/CMakeOutput.log". See also "C:/d/_Extensions/SlicerRT_R/Plastimatch-build/CMakeFiles/CMakeError.log". c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C: \d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-update.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93 771a7c\Plastimatch-patch.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-configure.rule;C:\d\_Extensions\SlicerRT_R\CM akeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-build.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-install.ru le;C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\58dea2f105b6740e15a c75a3a1dd0f34\Plastimatch.rule' exited with code 1. [C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj] Done Building Project "C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj" (default targets) -- FAILED. Done Building Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (default targets) -- FAILED. Build FAILED. "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (default target) (1) -> "C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj" (default target) (3) -> (CustomBuild target) -> c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for ' C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-update.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e 93771a7c\Plastimatch-patch.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-configure.rule;C:\d\_Extensions\SlicerRT_R\ CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-build.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-install. rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\58dea2f105b6740e1 5ac75a3a1dd0f34\Plastimatch.rule' exited with code 1. [C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:04.39 ""

Plastimatch cannot find Python. I have another Python installed on my machine. @gregsharp do you have any ideas?

Update: I just built SlicerOpenIGTLink and the OpenIGTLinkIO dependency threw the same error, so it's not a Plastimatch thing. I still don't know how to fix this. Other than uninstalling the other Python... @lassoan any tips? Thanks!

Update2: Uninstalling the other Python didn't help. This is the new log:

Log: c:\d\_Extensions>"c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj /p:Configuration=Release Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Build started 2021-09-30 14:41:57. Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" on node 1 (default targets). Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (1) is building "C:\d\_Extensions\SlicerRT_R\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). PrepareForBuild: Creating directory "x64\Release\ZERO_CHECK\". Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\". InitializeBuildStatus: Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. CustomBuild: Checking Build System FinalizeBuildStatus: Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". Done Building Project "C:\d\_Extensions\SlicerRT_R\ZERO_CHECK.vcxproj" (default targets). Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (1) is building "C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj" (3) on node 1 (default targets). PrepareForBuild: Creating directory "x64\Release\Plastimatch\". Creating directory "x64\Release\Plastimatch\Plastimatch.tlog\". InitializeBuildStatus: Creating "x64\Release\Plastimatch\Plastimatch.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ComputeCustomBuildOutput: Creating directory "C:\d\_Extensions\SlicerRT_R\Plastimatch-prefix\src\Plastimatch-stamp\Release\". Creating directory "C:\d\_Extensions\SlicerRT_R\CMakeFiles\Release\". CustomBuild: "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-download.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLA STIMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-MKDIR' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f 22da4e93771a7c\Plastimatch-mkdir.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-update.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLAST IMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-DOWNLOAD' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8 f22da4e93771a7c\Plastimatch-download.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-patch.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLASTI MATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-UPDATE' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22 da4e93771a7c\Plastimatch-update.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-configure.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PL ASTIMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-PATCH' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8 f22da4e93771a7c\Plastimatch-patch.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-build.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLASTI MATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-CONFIGURE' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8 f22da4e93771a7c\Plastimatch-configure.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-install.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLAS TIMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-BUILD' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f2 2da4e93771a7c\Plastimatch-build.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\PLA STIMATCH-PREFIX\SRC\PLASTIMATCH-STAMP\RELEASE\PLASTIMATCH-INSTALL' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac 8f22da4e93771a7c\Plastimatch-install.rule'. The items cannot be built in parallel." "The build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\58dea2f105b6740e15ac75a3a1dd0f34\Plastimatch.rule' depends on 'C:\D\_EXTENSIONS\SLICERRT_R\CMAKEFILES\R ELEASE\PLASTIMATCH-COMPLETE' which is produced by the build of 'C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete. rule'. The items cannot be built in parallel." Creating directories for 'Plastimatch' Performing download step (git clone) for 'Plastimatch' Cloning into 'Plastimatch'... Note: switching to '6307b2193f48724a31c6b735516eeb50abb14b62'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 6307b219 Fix bug where required empty DICOM tags are not being written Performing update step for 'Plastimatch' No patch step for 'Plastimatch' Performing configure step for 'Plastimatch' loading initial cache file C:/d/_Extensions/SlicerRT_R/Plastimatch-prefix/tmp/Plastimatch-cache-Release.cmake -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19043. -- The C compiler identification is MSVC 19.29.30133.0 -- The CXX compiler identification is MSVC 19.29.30133.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test DCMTK_HAS_EC_INVALIDVALUE -- Performing Test DCMTK_HAS_EC_INVALIDVALUE - Failed -- DCMTK version 3.6.6 found. -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.24.1.windows.2") -- Could NOT find libLBFGS (missing: libLBFGS_LIBRARY libLBFGS_INCLUDE_DIR) -- Could NOT find nlopt (missing: nlopt_LIBRARY nlopt_INCLUDE_DIR) -- Looking for CL_VERSION_2_2 -- Looking for CL_VERSION_2_2 - not found -- Looking for CL_VERSION_2_1 -- Looking for CL_VERSION_2_1 - not found -- Looking for CL_VERSION_2_0 -- Looking for CL_VERSION_2_0 - not found -- Looking for CL_VERSION_1_2 -- Looking for CL_VERSION_1_2 - found -- Found OpenCL: E:/Utils/NVIDIA GPU Computing Toolkit/v10.2/lib/x64/OpenCL.lib (found version "1.2") -- Check for compiler OpenMP support... -- OpenMP flags "/openmp", OpenMP libraries "" -- CPU does not support SSE2. -- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS) -- Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY) -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Looking for wxWidgets - not found. -- Looking for Matlab - not found. -- Looking for Octave - not found. -- Plastimatch version is 6307b219 -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found OpenGL: opengl32 found components: OpenGL CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): Could NOT find Python3 (missing: Python3_EXECUTABLE Python3_LIBRARIES Python3_INCLUDE_DIRS Interpreter Development.Module) (Required is at least version "3.6") Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.19/Modules/FindPython/Support.cmake:3148 (find_package_handle_standard_args) C:/Program Files/CMake/share/cmake-3.19/Modules/FindPython3.cmake:398 (include) C:/d/S4R/VTK-build/lib/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:303 (find_package) C:/d/S4R/VTK-build/lib/cmake/vtk-9.0/vtk-config.cmake:144 (include) C:/d/S4R/VTK-build/vtk-config.cmake:1 (include) C:/d/S4R/ITK-build/lib/cmake/ITK-5.2/Modules/ITKVtkGlue.cmake:30 (find_package) C:/d/S4R/ITK/CMake/ITKModuleAPI.cmake:76 (include) C:/d/S4R/ITK/CMake/ITKModuleAPI.cmake:31 (itk_module_load) C:/d/S4R/ITK/CMake/ITKModuleAPI.cmake:129 (_itk_module_config_recurse) -- Configuring incomplete, errors occurred! See also "C:/d/_Extensions/SlicerRT_R/Plastimatch-build/CMakeFiles/CMakeOutput.log". See also "C:/d/_Extensions/SlicerRT_R/Plastimatch-build/CMakeFiles/CMakeError.log". C:/d/S4R/ITK-build/ITKConfig.cmake:80 (itk_module_config) CMakeLists.txt:574 (find_package) c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C: \d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-mkdir.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e937 71a7c\Plastimatch-download.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-update.rule;C:\d\_Extensions\SlicerRT_R\CMa keFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-patch.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-configure.r ule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-build.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22d a4e93771a7c\Plastimatch-install.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete.rule;C:\d\_Extensions\SlicerR T_R\CMakeFiles\58dea2f105b6740e15ac75a3a1dd0f34\Plastimatch.rule' exited with code 1. [C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj] Done Building Project "C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj" (default targets) -- FAILED. Done Building Project "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (default targets) -- FAILED. Build FAILED. "c:\d\_Extensions\SlicerRT_R\ALL_BUILD.vcxproj" (default target) (1) -> "C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj" (default target) (3) -> (CustomBuild target) -> c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for ' C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-mkdir.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e9 3771a7c\Plastimatch-download.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-update.rule;C:\d\_Extensions\SlicerRT_R\C MakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-patch.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-configure .rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f22da4e93771a7c\Plastimatch-build.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\dc11970b362c02ac8f2 2da4e93771a7c\Plastimatch-install.rule;C:\d\_Extensions\SlicerRT_R\CMakeFiles\88f6e24970e31574936bbb051b826609\Plastimatch-complete.rule;C:\d\_Extensions\Slice rRT_R\CMakeFiles\58dea2f105b6740e15ac75a3a1dd0f34\Plastimatch.rule' exited with code 1. [C:\d\_Extensions\SlicerRT_R\Plastimatch.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:01:01.91 ""
cpinter commented 2 years ago

Follow-up of this solution in this forum topic: https://discourse.slicer.org/t/superbuild-extension-builds-failed-when-python-was-installed-good-solution/19938

Closing issue as build now succeeds.