View Issue Details

IDProjectCategoryView StatusLast Update
0002121Slicer4Core: Building (CMake, Superbuild)public2014-03-06 04:54
ReporterLchauvin Assigned Tojcfr  
PrioritynormalSeverityblockReproducibilityhave not tried
Status closedResolutionno change required 
Product VersionSlicer 4.1.0 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002121: Python building for Slicer4 64bits with VS2010
Description

I am trying to build Slicer 4.1 on Win7, with 64 bits, on Visual Studio Express 2010.

However, I noticed an issue:
When compiling, python download the Python-2.6.6-vs2010 file created by Isaiah, but when compiling I got errors, because Python try to find kernel32.lib (and a lot others) in Slicer4-Superbuild/python-build/PCBuild/amd64. The /LIBPATH is wrong. And it's not really possible to copy these libraries in it, because everytime we restart compilation, everything is cleaned, package is redownloaded, re-extracted, etc...

I managed to compile by checking before extracting if python-build was already existing, and if yes, do not re-extract.
I just added a " if(NOT EXISTS "${directory}") .... endif() " in the Slicer4-Superbuild/python-prefix/src/python-stamp/extract-python.cmake file.

And then I copied libraries (found in WindowsSDK/Windows/v7.1/Lib/x64) in the amd64 directory of python-build/PCBuild directory.

Compilation worked.

But I think it would be easier to update LIBPATH on python linking.
(I used my method because I couldn't find where to change it). It would be cleaner.

TagsNo tags attached.

Relationships

child of 0002002 closedLchauvin Support for VS2010 

Activities

jcfr

jcfr

2012-05-25 11:12

administrator   ~0004616

By default VS2010 doesn't have support for 64bit. Could you confirm that you installed the appropriate package to support 64 bit compilation. See http://stackoverflow.com/questions/1865069/how-to-compile-a-64-bit-application-using-visual-c-2010-express

jcfr

jcfr

2012-07-27 15:19

administrator   ~0005291

Still some work required to have clean integration.

jcfr

jcfr

2013-04-16 09:10

administrator   ~0008405

Last edited: 2013-04-16 09:11

Fixed by commits r21863, r21867, r21869, r21879 and r21891

For details:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21863
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21867
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21869
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21879
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21891

jcfr

jcfr

2014-03-06 04:53

administrator   ~0010782

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

Issue History

Date Modified Username Field Change
2012-05-25 10:59 Lchauvin New Issue
2012-05-25 10:59 Lchauvin Status new => assigned
2012-05-25 10:59 Lchauvin Assigned To => jcfr
2012-05-25 11:08 jcfr Target Version => Slicer 4.2.0 - Sept 1st 2012
2012-05-25 11:08 jcfr Relationship added child of 0002002
2012-05-25 11:12 jcfr Note Added: 0004616
2012-05-25 11:12 jcfr Status assigned => resolved
2012-05-25 11:12 jcfr Fixed in Version => Slicer 4.2.0 - Sept 1st 2012
2012-05-25 11:12 jcfr Resolution open => no change required
2012-07-27 15:19 jcfr Note Added: 0005291
2012-07-27 15:19 jcfr Status resolved => assigned
2012-08-20 10:13 jcfr Target Version Slicer 4.2.0 - Feature freeze Sept 1st 2012 => Slicer 4.2.5
2012-08-21 09:40 jcfr Target Version Slicer 4.2.5 => Slicer 4.3.0
2013-04-16 09:07 jcfr Fixed in Version Slicer 4.2.0 => Slicer 4.3.0
2013-04-16 09:10 jcfr Note Added: 0008405
2013-04-16 09:10 jcfr Status assigned => resolved
2013-04-16 09:11 jcfr Note Edited: 0008405
2014-03-06 04:53 jcfr Note Added: 0010782
2014-03-06 04:54 jcfr Status resolved => closed