I am building slicer latest version with:
CMake = 3.24.3
Visual studio = 2022 , toolset v143
QT = 5.15.2
OS = WIindows 11 22H2
git version 2.39.2.windows.1
however,I meet MSB8066 error at the end of slicer building.Here it is:
Here is the output message
46>------ Build started: Project: Slicer, Configuration: Debug x64 ------
46>Performing configure step for 'Slicer'
46>loading initial cache file C:/D/S4D/Slicer-prefix/tmp/Slicer-cache-Debug.cmake
46>-- Setting C++ standard
46>-- Setting C++ standard - C++17
46>-- Configuring Slicer organization domain [www.na-mic.org]
46>-- Configuring Slicer organization name [NA-MIC]
46>-- Configuring Slicer default home module [Welcome]
46>-- Configuring Slicer default favorite modules [Data, Volumes, Models, Transforms, Markups, SegmentEditor]
46>-- Configuring Slicer text of disclaimer at startup [Thank you for using %1!<br><br>This software is not intended for clinical use.]
46>-- Configuring Slicer requires admin account [OFF]
46>-- Configuring Slicer install root [$LOCALAPPDATA/NA-MIC]
46>-- Configuring Slicer release type [Experimental]
46>CMake Warning (dev) at CMake/SlicerMacroExtractRepositoryInfo.cmake:87 (message):
46> Skipping repository info extraction: directory [C:/D/S4] is not a GIT
46> checkout
46>Call Stack (most recent call first):
46> CMake/SlicerVersion.cmake:55 (SlicerMacroExtractRepositoryInfo)
46> CMakeLists.txt:341 (include)
46>This warning is for project developers. Use -Wno-dev to suppress it.
46>
46>-- Configuring Slicer version [5.3.0-]
46>-- Configuring Slicer revision [3237]
46>CMake Warning (dev) at CMake/SlicerMacroExtractRepositoryInfo.cmake:87 (message):
46> Skipping repository info extraction: directory [C:/D/S4] is not a GIT
46> checkout
46>Call Stack (most recent call first):
46> CMake/SlicerVersion.cmake:99 (SlicerMacroExtractRepositoryInfo)
46> CMakeLists.txt:341 (include)
46>This warning is for project developers. Use -Wno-dev to suppress it.
46>
46>-- Configuring VTK
46>-- Slicer_VTK_RENDERING_BACKEND is OpenGL2
46>-- Slicer_VTK_SMP_IMPLEMENTATION_TYPE is TBB
46>-- Slicer_VTK_VERSION_MAJOR is 9
46>-- Configuring Slicer with Qt 5.15.2 (using modules: Core, Widgets, Network, OpenGL, PrintSupport, UiTools, Xml, XmlPatterns, Svg, Sql, Multimedia, MultimediaWidgets, WebEngine, WebEngineWidgets, WebChannel, Script, LinguistTools, )
46>-- Setting QT_PLUGINS_DIR: C:/Qt/5.15.2/msvc2019_64/plugins
46>-- Setting QT_BINARY_DIR: C:/Qt/5.15.2/msvc2019_64/bin
46>-- Setting QT_LIBRARY_DIR: C:/Qt/5.15.2/msvc2019_64/lib
46>-- Setting ExternalData_OBJECT_STORES to 'C:/D/S4D/ExternalData/Objects'
46>-- Configuring Slicer for [win-amd64]
46>-- Found OpenGL: opengl32 found components: OpenGL
46>-- Trying to find DCMTK expecting DCMTKConfig.cmake
46>-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
46>-- Found PythonLibs: C:/D/S4D/python-install/libs/python39.lib (found suitable version "3.9.10", minimum required is "3.9")
46>Traceback (most recent call last):
46> File "<string>", line 1, in <module>
46>AttributeError: module 'sys' has no attribute 'abiflags'
46>-- Configuring Slicer with python 3.9
46>-- Configuring MRML
46>-- MRML_APPLICATION_NAME is Slicer
46>-- MRML_APPLICATION_VERSION is 0x050300
46>-- MRML_APPLICATION_REVISION is 3237
46>-- MRML_APPLICATION_SUPPORT_VERSION is 0x030000
46>-- Configuring library: ITKFactoryRegistration
46>-- ITK is setting ITKFactoryRegistration's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring library: vtkAddon [vtkAddon_SOURCE_DIR: C:/D/S4D/vtkAddon]
46>-- Found OpenGL: opengl32
46>-- Found PythonLibs: C:/D/S4D/python-install/libs/python39.lib (found version "3.9.10")
46>-- Configuring library: vtkTeem
46>-- Configuring library: vtkITK
46>-- ITK is setting vtkITK's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring library: vtkSegmentationCore
46>-- Configuring library: MRML/Core
46>-- ITK is setting MRMLCore's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring library: MRML/CLI
46>-- Configuring library: RemoteIO
46>-- Configuring library: MRML/Logic
46>-- Configuring library: MRML/DisplayableManager
46>-- Configuring library: MRML/IDImageIO
46>-- ITK is setting MRMLIDImageIO's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring library: MRML/Widgets
46>-- Looking for decorator header qMRMLWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qMRMLWidgetsPythonQtDecorators.h - Not found
46>-- ITK is setting SlicerBaseLogic's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Trying to find DCMTK expecting DCMTKConfig.cmake
46>-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
46>-- ITK is setting qSlicerBaseQTCore's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring Slicer Qt base library: qSlicerBaseQTCore
46>-- Looking for decorator header qSlicerBaseQTCorePythonQtDecorators.h
46>-- Looking for decorator header qSlicerBaseQTCorePythonQtDecorators.h - Found
46>-- Configuring Slicer Qt base library: qSlicerBaseQTGUI
46>-- Looking for decorator header qSlicerBaseQTGUIPythonQtDecorators.h
46>-- Looking for decorator header qSlicerBaseQTGUIPythonQtDecorators.h - Found
46>-- Configuring Slicer Qt base library: qSlicerBaseQTCLI
46>-- Looking for decorator header qSlicerBaseQTCLIPythonQtDecorators.h
46>-- Looking for decorator header qSlicerBaseQTCLIPythonQtDecorators.h - Not found
46>-- Configuring Slicer Qt base library: qSlicerModulesCore
46>-- Configuring Slicer Qt base library: qSlicerBaseQTApp
46>-- Looking for decorator header qSlicerBaseQTAppPythonQtDecorators.h
46>-- Looking for decorator header qSlicerBaseQTAppPythonQtDecorators.h - Found
46>-- Configuring Loadable module: Cameras [qSlicerCamerasModuleExport.h]
46>-- Looking for decorator header qSlicerUnitsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerUnitsModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Units [qSlicerUnitsModuleExport.h]
46>-- RapidJSON found. Headers: ./include/Slicer-5.3
46>-- Looking for decorator header qSlicerTerminologiesModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTerminologiesModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Terminologies [qSlicerTerminologiesModuleExport.h]
46>-- Looking for decorator header qSlicerSubjectHierarchyModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerSubjectHierarchyModuleWidgetsPythonQtDecorators.h - Found
46>-- Configuring Loadable module: SubjectHierarchy [qSlicerSubjectHierarchyModuleExport.h]
46>-- Looking for decorator header qSlicerColorsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerColorsModuleWidgetsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerColorsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerColorsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Colors [qSlicerColorsModuleExport.h]
46>-- Configuring Loadable module: Annotations [qSlicerAnnotationsModuleExport.h]
46>-- Looking for decorator header qSlicerSceneViewsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerSceneViewsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: SceneViews [qSlicerSceneViewsModuleExport.h]
46>-- RapidJSON found. Headers: ./include/Slicer-5.3
46>-- Looking for decorator header qSlicerMarkupsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerMarkupsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerMarkupsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerMarkupsModuleWidgetsPythonQtDecorators.h - Found
46>-- Configuring Loadable module: Markups [qSlicerMarkupsModuleExport.h]
46>-- Looking for decorator header qSlicerTransformsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTransformsModuleWidgetsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerTransformsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTransformsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Transforms [qSlicerTransformsModuleExport.h]
46>-- Configuring Loadable module: Data [qSlicerDataModuleExport.h]
46>-- Looking for decorator header qSlicerModelsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerModelsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerModelsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerModelsModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Models [qSlicerModelsModuleExport.h]
46>-- Looking for decorator header qSlicerPlotsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerPlotsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerPlotsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerPlotsModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Plots [qSlicerPlotsModuleExport.h]
46>-- Looking for decorator header qSlicerSegmentationsEditorEffectsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerSegmentationsEditorEffectsPythonQtDecorators.h - Found
46>-- Looking for decorator header qSlicerSegmentationsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerSegmentationsModuleWidgetsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerSegmentationsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerSegmentationsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Segmentations [qSlicerSegmentationsModuleExport.h]
46>-- Looking for decorator header qSlicerSequencesModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerSequencesModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Sequences [qSlicerSequencesModuleExport.h]
46>-- Configuring Loadable module: Welcome [qSlicerWelcomeModuleExport.h]
46>-- Looking for decorator header qSlicerTablesSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTablesSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerTablesModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTablesModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Tables [qSlicerTablesModuleExport.h]
46>-- Looking for decorator header qSlicerTextsModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTextsModuleWidgetsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerTextsSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTextsSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Texts [qSlicerTextsModuleExport.h]
46>-- Configuring Loadable module: Reformat [qSlicerReformatModuleExport.h]
46>-- Configuring Loadable module: ViewControllers [qSlicerViewControllersModuleExport.h]
46>-- Looking for decorator header qSlicerVolumesSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerVolumesSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerVolumesModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerVolumesModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: Volumes [qSlicerVolumesModuleExport.h]
46>-- Looking for decorator header qSlicerVolumeRenderingModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerVolumeRenderingModuleWidgetsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerVolumeRenderingSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerVolumeRenderingSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: VolumeRendering [qSlicerVolumeRenderingModuleExport.h]
46>-- Configuring Loadable module: CropVolume [qSlicerCropVolumeModuleExport.h]
46>-- Configuring Scripted module: CropVolumeSequence
46>-- Configuring Scripted module: DataProbe
46>-- Configuring Scripted module: ImportItkSnapLabel
46>-- Configuring Scripted module: PerformanceTests
46>-- Configuring Scripted module: SampleData
46>-- Configuring Scripted module: ScreenCapture
46>-- Configuring Scripted module: SegmentEditor
46>-- Configuring Scripted module: SegmentStatistics
46>-- Configuring Scripted module: SelfTests
46>-- Configuring Scripted module: VectorToScalarVolume
46>-- Configuring Scripted module: WebServer
46>-- Configuring Scripted module: DMRIInstall
46>-- Configuring Scripted module: ExtensionWizard
46>-- Configuring Scripted module: Endoscopy
46>-- Configuring Scripted module: DICOM
46>-- Looking for decorator header qSlicerDICOMLibModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerDICOMLibModuleWidgetsPythonQtDecorators.h - Not found
46>-- Looking for decorator header qSlicerDICOMLibSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerDICOMLibSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Scripted module: DICOMLib
46>-- Configuring Scripted module: DICOMPlugins
46>-- Configuring Scripted module: DICOMPatcher
46>-- Configuring SEM CLI module: ACPCTransform
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: AddScalarVolumes
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: CastScalarVolume
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: CheckerBoardFilter
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: CurvatureAnisotropicDiffusion
46>-- Configuring SEM CLI module: ExecutionModelTour
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: ExtractSkeleton
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: GaussianBlurImageFilter
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: GradientAnisotropicDiffusion
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: GrayscaleFillHoleImageFilter
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: GrayscaleGrindPeakImageFilter
46>-- Configuring SEM CLI module: GrayscaleModelMaker
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: HistogramMatching
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: ImageLabelCombine
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: LabelMapSmoothing
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: MaskScalarVolume
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: MedianImageFilter
46>-- Configuring SEM CLI module: MergeModels
46>-- Configuring SEM CLI module: ModelMaker
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: ModelToLabelMap
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: MultiplyScalarVolumes
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: N4ITKBiasFieldCorrection
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: OrientScalarVolume
46>-- Configuring SEM CLI module: ProbeVolumeWithModel
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: ResampleDTIVolume
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: ResampleScalarVectorDWIVolume
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: RobustStatisticsSegmenter
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: SimpleRegionGrowingSegmentation
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: SubtractScalarVolumes
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: ThresholdScalarVolume
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: VotingBinaryHoleFillingImageFilter
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: CreateDICOMSeries
46>-- Trying to find DCMTK expecting DCMTKConfig.cmake
46>-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: PETStandardUptakeValueComputation
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: FiducialRegistration
46>-- ITK is setting Slicer's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: ResampleScalarVolume
46>-- --------------------------------------------------
46>-- Configuring Slicer application library: qSlicerApp
46>-- --------------------------------------------------
46>-- Setting Slicer DESCRIPTION_SUMMARY to 'Medical Visualization and Processing Environment for Research'
46>-- Setting Slicer DESCRIPTION_FILE to 'C:/D/S4/README.txt'
46>-- --------------------------------------------------
46>-- Configuring Slicer application: SlicerApp
46>-- --------------------------------------------------
46>-- Setting Slicer APPLICATION_NAME to 'Slicer'
46>-- Setting Slicer LAUNCHER_SPLASHSCREEN_FILE to 'C:/D/S4/Applications/SlicerApp/Resources/Images/Slicer-SplashScreen.png'
46>-- Setting Slicer APPLE_ICON_FILE to 'C:/D/S4/Applications/SlicerApp/Resources/Slicer.icns'
46>-- Setting Slicer WIN_ICON_FILE to 'C:/D/S4/Applications/SlicerApp/Resources/Slicer.ico'
46>-- Setting Slicer LICENSE_FILE to 'C:/D/S4/License.txt'
46>-- Setting Slicer executable name to 'SlicerApp-real.exe'
46>-- Setting Slicer EXECUTABLE to 'C:/D/S4D/Slicer-build/bin/SlicerApp-real.exe'
46>-- Enabling Slicer build tree launcher option: --VisualStudio
46>-- Enabling Slicer build tree launcher option: --VisualStudioProject
46>-- Enabling Slicer build tree launcher option: --cmd
46>-- Enabling Slicer install tree launcher option: --cmd
46>-- Looking for decorator header qSlicerTemplateKeyModuleWidgetsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerTemplateKeyModuleWidgetsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: TemplateKey [qSlicerTemplateKeyModuleExport.h]
46>-- --------------------------------------------------
46>-- Configuring remote module: MultiVolumeExplorer
46>-- Configuring Loadable module: MultiVolumeExplorer [qSlicerMultiVolumeExplorerModuleExport.h]
46>-- --------------------------------------------------
46>-- Configuring remote module: MultiVolumeImporter
46>-- --------------------------------------------------
46>-- Configuring remote module: SimpleFilters
46>-- Checking EXTENSION_NAME variable
46>-- Checking EXTENSION_NAME variable - NOTDEFINED
46>-- Checking MODULE_NAME variable
46>-- Checking MODULE_NAME variable - NOTDEFINED
46>-- Checking PROJECT_NAME variable
46>-- Checking PROJECT_NAME variable - SimpleFilters
46>-- Setting EXTENSION_NAME ......................: SimpleFilters
46>-- Configuring Scripted module: SimpleFilters
46>-- Skipping extension packaging: SimpleFilters - Slicer_SOURCE_DIR is defined.
46>-- --------------------------------------------------
46>-- Configuring remote module: BRAINSTools
46>-- BUILD_FOR_DASHBOARD: OFF
46>-- BRAINSTools_BUILD_DICOM_SUPPORT: ON
46>-- BRAINSTools_VERSION_MAJOR 5
46>-- BRAINSTools_VERSION_MINOR 7
46>-- BRAINSTools_VERSION_PATCH 0
46>-- BRAINSTools_VERSION_TWEAK
46>-- BRAINSTools_VERSION_RC
46>-- BRAINSTools_VERSION_HASH 37b0a
46>-- BRAINSTools_VERSION_POST
46>-- BRAINSTools_VERSION_DEV 22
46>-- Building BRAINSTools version "5.7.0..dev22-g37b0a"
46>-- ITK is setting BRAINSCommonLib's MSVC_RUNTIME_LIBRARY to dynamic
46>-- ITK is setting BRAINSTools's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSFit
46>-- Configuring SEM CLI module: PerformMetricTest
46>-- ITK is setting BRAINSTools's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSResample
46>-- Configuring SEM CLI module: BRAINSResize
46>-- ITK is setting BRAINSTools's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSROIAuto
46>-- ITK is setting DWIConvert's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: DWIConvert
46>-- ITK is setting BRAINSTools's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSDWICleanup
46>-- ITK is setting BRAINSTools's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSTransformConvert
46>-- ITK is setting BRAINSStripRotation's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSStripRotation
46>-- ITK is setting BRAINSTools's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSDeface
46>-- ITK is setting BRAINSTools's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: BRAINSIntensityNormalize
46>-- --------------------------------------------------
46>-- Configuring remote module: CompareVolumes
46>-- Configuring Scripted module: CompareVolumes
46>-- --------------------------------------------------
46>-- Configuring remote module: LandmarkRegistration
46>-- Configuring Scripted module: LandmarkRegistration
46>-- --------------------------------------------------
46>-- Configuring remote module: SurfaceToolbox
46>-- Checking EXTENSION_NAME variable
46>-- Checking EXTENSION_NAME variable - NOTDEFINED
46>-- Checking MODULE_NAME variable
46>-- Checking MODULE_NAME variable - NOTDEFINED
46>-- Checking PROJECT_NAME variable
46>-- Checking PROJECT_NAME variable - SurfaceToolbox
46>-- Setting EXTENSION_NAME ......................: SurfaceToolbox
46>-- ITK is setting SurfaceToolbox's MSVC_RUNTIME_LIBRARY to dynamic
46>-- Configuring SEM CLI module: Decimation
46>-- Configuring Scripted module: SurfaceToolbox
46>-- Looking for decorator header qSlicerDynamicModelerSubjectHierarchyPluginsPythonQtDecorators.h
46>-- Looking for decorator header qSlicerDynamicModelerSubjectHierarchyPluginsPythonQtDecorators.h - Not found
46>-- Configuring Loadable module: DynamicModeler [qSlicerDynamicModelerModuleExport.h]
46>-- Skipping extension packaging: SurfaceToolbox - Slicer_SOURCE_DIR is defined.
46>CMake Warning at Utilities/Scripts/SlicerWizard/doc/CMakeLists.txt:41 (message):
46>CUSTOMBUILD : warning : sphinx-build not found: Python documentation will not be created
46>
46>
46>-- Setting 'CTEST_MODEL' variable with default value 'Experimental'
46>-- Setting 'SLICER_PACKAGE_MANAGER_CLIENT_EXECUTABLE' variable with default value 'SLICER_PACKAGE_MANAGER_CLIENT_EXECUTABLE-NOTDEFINED'
46>-- Setting 'SLICER_PACKAGE_MANAGER_URL' variable with default value 'SLICER_PACKAGE_MANAGER_URL-NOTDEFINED'
46>-- Setting 'SLICER_PACKAGE_MANAGER_API_KEY' variable with default value 'OBFUSCATED'
46>CMake Warning (dev) at CMake/SlicerMacroExtractRepositoryInfo.cmake:87 (message):
46> Skipping repository info extraction: directory [C:/D/S4] is not a GIT
46> checkout
46>Call Stack (most recent call first):
46> CMake/SlicerPackageAndUploadTarget.cmake:105 (SlicerMacroExtractRepositoryInfo)
46> CMake/LastConfigureStep/CMakeLists.txt:41 (include)
46>This warning is for project developers. Use -Wno-dev to suppress it.
46>
46>CMake Error at CMake/SlicerPackageAndUploadTarget.cmake:118 (message):
46> Variable Slicer_WC_LAST_CHANGED_DATE is expected to be defined.
46>Call Stack (most recent call first):
46> CMake/LastConfigureStep/CMakeLists.txt:41 (include)
46>
46>
46>-- Configuring incomplete, errors occurred!
46>See also "C:/D/S4D/Slicer-build/CMakeFiles/CMakeOutput.log".
46>See also "C:/D/S4D/Slicer-build/CMakeFiles/CMakeError.log".
46>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): error MSB8066: Custom build for 'C:\D\S4D\CMakeFiles\2842409b95e95d33933c6c3501e382b4\Slicer-configure.rule;C:\D\S4D\CMakeFiles\2842409b95e95d33933c6c3501e382b4\Slicer-build.rule;C:\D\S4D\CMakeFiles\2842409b95e95d33933c6c3501e382b4\Slicer-forceconfigure.rule;C:\D\S4D\CMakeFiles\2842409b95e95d33933c6c3501e382b4\Slicer-install.rule;C:\D\S4D\CMakeFiles\48bccb291ecb400233c5d25d04671af3\Slicer-complete.rule;C:\D\S4D\CMakeFiles\f5993a3ec64cf58c5707908b20f354e5\Slicer.rule' exited with code 1.
46>Done building project "Slicer.vcxproj" -- FAILED.
And here is the CmakeError.log: