View Issue Details

IDProjectCategoryView StatusLast Update
0004584Slicer4Core: Building (CMake, Superbuild)public2018-10-16 07:32
ReporterwulcAssigned Tojcfr 
Status assignedResolutionopen 
PlatformVS2015 64 professional pack3OSwindows 64 homeOS Version
Product VersionSlicer 4.8.1 
Target VersionFixed in Version 
Summary0004584: Cmake report error

When I build the slicer According to It always make an error , I thought many ways, but it do not work well.

Steps To Reproduce

1,open "cmake3.8.2" gui ,at the "where is the source code", click the "Browse Source..," button, and select the Slicer directory?like: D:\MyProject\Slicer).
2,At the "where to build the binaries" ,select a directory where you want to build in (like:D:\MyProject\build)
3,press and release the "Configure" button, the error show.

Additional Information

I used Qt5.10.1 as the “” page specified?
Qt5 recommended and officially supported. Download qt-unified-windows-x86-online.exe and install Qt along with qtscript and qtwebengine components. For more details, read step-by-step guide.
Qt 4: will still work until Slicer-4.10 but not officially supported. See details here.

Tested and recommended build environment
Make sure you enable installation of component Programming languages / Visual C++ / Common Tools for Visual C++ 2015 (in some distributions, this option is not enabled by default)
Installation of Cumulative Servicing Release for Microsoft Visual Studio 2015 Update 3 (KB3165756) is required on some older VS2015 distributions
Qt 5.10
CMake >= 3.3.1



has duplicate 0004583 resolvedjcfr Cmake report error 




2018-07-19 04:44


configure.png (44,303 bytes)
configure.png (44,303 bytes)
NoteBook.png (13,011 bytes)
NoteBook.png (13,011 bytes)
vs2015_info.png (34,565 bytes)
vs2015_info.png (34,565 bytes)


2018-10-16 07:32

administrator   ~0016148

The Slicer build system is looking for patch.exe, see and

Since the patch.exe executable is available after installing git for windows, I suggest you do so. See

Now, if you already installed it. Could you try run patch -v from a Git Bash terminal ?

Issue History

Date Modified Username Field Change
2018-07-19 04:44 wulc New Issue
2018-07-19 04:44 wulc Status new => assigned
2018-07-19 04:44 wulc Assigned To => jcfr
2018-07-19 04:44 wulc File Added: vs2015_info.png
2018-07-19 04:44 wulc File Added: NoteBook.png
2018-07-19 04:44 wulc File Added: configure.png
2018-07-19 04:44 wulc Tag Attached: cmake
2018-10-16 07:18 jcfr Relationship added has duplicate 0004583
2018-10-16 07:18 jcfr OS => windows 64 home
2018-10-16 07:18 jcfr Platform => VS2015 64 professional pack3
2018-10-16 07:32 jcfr Note Added: 0016148