View Issue Details

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

When I build the slicer According to https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions#Windows? 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 “https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions#Windows” page specified?
Qt:
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
VS2015
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

Tagscmake

Relationships

has duplicate 0004583 resolvedjcfr Cmake report error 

Activities

wulc

wulc

2018-07-19 04:44

reporter  

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

jcfr

2018-10-16 07:32

administrator   ~0016148

The Slicer build system is looking for patch.exe, see https://github.com/Slicer/Slicer/blob/f91c9d6ac66941e6920783ab56707f52db4989d6/CMakeLists.txt#L156-L157 and https://github.com/Slicer/Slicer/blob/master/CMake/FindPatch.cmake

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

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