View Issue Details

IDProjectCategoryView StatusLast Update
0003056Slicer4Core: Building (CMake, Superbuild)public2017-06-07 23:27
Reporterinorton Assigned Tojcfr  
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0003056: SuperBuild fails on python in Debug mode
Description

http://slicer-devel.65872.n3.nabble.com/Python-build-error-td4028272.html

TagsNo tags attached.

Relationships

duplicate of 0003057 closedjcfr Build errors in VS 2008 Win64 Debug mode 

Activities

inorton

inorton

2013-04-07 13:14

developer   ~0008344

https://github.com/Slicer/Slicer/pull/37

inorton

inorton

2013-04-07 13:17

developer   ~0008345

I am not sure about the stamping - it is still stamping for Debug, so maybe superbuild will try to rebuild python every time.

jcfr

jcfr

2013-04-08 14:29

administrator   ~0008352

Fixed in r21879
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21879

COMP: Force python build to Release

After updating Slicer build system to use CMake'ified python (r21863), Windows
debug build started to fail complaining that there was an "Invalid solution
configuration"

Since CMake'ified python currently force its build type to Release [1], this
explained the error message.

To make sure the command associated with python external project works
as expected, this commit overwrite the value CMAKE_CFG_INTDIR before
adding the python external project and restore it afterward.

[1] https://github.com/davidsansome/python-cmake-buildsystem/commit/3bcf841e28b255e62562e1dcc93a347bdbc78f1a

pieper

pieper

2013-08-27 11:33

administrator   ~0009628

Jc reports this is resolved and it also works for me. Can it be closed now?

pinter

pinter

2013-08-27 11:38

developer   ~0009629

I have no idea why this issue has been assigned to me (pinter-pieper similarity maybe?). Please proceed as if it wasn't me.

jcfr

jcfr

2014-03-06 05:22

administrator   ~0011172

Closing resolved issues that have not been updated in more than 3 months

jcfr

jcfr

2017-06-07 23:27

administrator   ~0014650

Fix committed to 2145-support-for-installing-extension-from-file branch.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file 696a9d0d

2013-04-08 18:24:13

jcfr

Details Diff
COMP: Force python build to Release

After updating Slicer build system to use CMake'ified python (r21863), Windows
debug build started to fail complaining that there was an "Invalid solution
configuration"

Since CMake'ified python currently force its build type to Release [1], this
explained the error message.

To make sure the command associated with python external project works
as expected, this commit overwrite the value CMAKE_CFG_INTDIR before
adding the python external project and restore it afterward.

[1] https://github.com/davidsansome/python-cmake-buildsystem/commit/3bcf841e28b255e62562e1dcc93a347bdbc78f1a

See http://na-mic.org/Mantis/view.php?id=3056
Fixes 0003056

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21879 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_python.cmake Diff File

Issue History

Date Modified Username Field Change
2013-04-07 13:08 inorton New Issue
2013-04-07 13:08 inorton Status new => assigned
2013-04-07 13:08 inorton Assigned To => jcfr
2013-04-07 13:14 inorton Note Added: 0008344
2013-04-07 13:17 inorton Note Added: 0008345
2013-04-08 13:44 jcfr Relationship added duplicate of 0003057
2013-04-08 14:29 jcfr Note Added: 0008352
2013-04-08 14:29 jcfr Status assigned => resolved
2013-04-08 14:29 jcfr Fixed in Version => Slicer 4.3.0
2013-04-08 14:29 jcfr Resolution open => fixed
2013-04-08 14:44 inorton Status resolved => assigned
2013-04-08 14:44 inorton Assigned To jcfr => pinter
2013-08-27 11:33 pieper Note Added: 0009628
2013-08-27 11:33 pieper Status assigned => resolved
2013-08-27 11:38 pinter Note Added: 0009629
2014-03-06 05:21 inorton Status resolved => closed
2014-03-06 05:22 jcfr Note Added: 0011172
2014-03-06 06:15 jcfr Target Version => Slicer 4.3.0
2017-06-07 23:27 jcfr Changeset attached => Slicer 2145-support-for-installing-extension-from-file 696a9d0d
2017-06-07 23:27 jcfr Note Added: 0014650
2017-06-07 23:27 jcfr Assigned To pinter => jcfr