Difference between revisions of "Slicer4 Build instructions Python"

From Slicer Wiki
Jump to: navigation, search
Line 7: Line 7:
 
# Open the pyproject.props file. In that file, put a semicolon between the lib files:
 
# Open the pyproject.props file. In that file, put a semicolon between the lib files:
  
     <tcltkLib>$(tcltkDir)\lib\tcl84.lib  <span style="font-size:15px; color:#FF0000"> ''';''' </span> $(tcltkDir)\lib\tk84.lib</tcltkLib>
+
     <tcltkLib>$(tcltkDir)\lib\tcl84.lib  <span style="font-size:15px; color:#FF0000">''';'''</span> $(tcltkDir)\lib\tk84.lib</tcltkLib>
     <tcltkLibDebug>$(tcltkDir)\lib\tcl84g.lib  <span style="font-size:15px; color:#FF0000"> ''';''' </span> $(tcltkDir)\lib\tk84g.lib</tcltkLibDebug>
+
     <tcltkLibDebug>$(tcltkDir)\lib\tcl84g.lib  <span style="font-size:15px; color:#FF0000">''';'''</span> $(tcltkDir)\lib\tk84g.lib</tcltkLibDebug>
     <tcltk64Lib>$(tcltk64Dir)\lib\tcl84.lib  <span style="font-size:15px; color:#FF0000"> ''';''' </span> $(tcltk64Dir)\lib\tk84.lib</tcltk64Lib>
+
     <tcltk64Lib>$(tcltk64Dir)\lib\tcl84.lib  <span style="font-size:15px; color:#FF0000">''';'''</span> $(tcltk64Dir)\lib\tk84.lib</tcltk64Lib>
     <tcltk64LibDebug>$(tcltk64Dir)\lib\tcl84g.lib  <span style="font-size:15px; color:#FF0000"> ''';''' </span> $(tcltk64Dir)\lib\tk84g.lib</tcltk64LibDebug>
+
     <tcltk64LibDebug>$(tcltk64Dir)\lib\tcl84g.lib  <span style="font-size:15px; color:#FF0000">''';''' </span> $(tcltk64Dir)\lib\tk84g.lib</tcltk64LibDebug>

Revision as of 13:59, 15 June 2011

Home < Slicer4 Build instructions Python

For visual studio 2010, there is a different version of python. You can download this file (Python-2.6.6-vs2010) from the archive.

If you want to download a new version of python from the svn and use it for 2010 later. You can do the following steps:

  1. Open the solution file (python.sln) using vs2010
  2. It will show you Conversion Wizard. Using that Wizard convert the file.
  3. Open the pyproject.props file. In that file, put a semicolon between the lib files:
   <tcltkLib>$(tcltkDir)\lib\tcl84.lib  ; $(tcltkDir)\lib\tk84.lib</tcltkLib>
   <tcltkLibDebug>$(tcltkDir)\lib\tcl84g.lib  ; $(tcltkDir)\lib\tk84g.lib</tcltkLibDebug>
   <tcltk64Lib>$(tcltk64Dir)\lib\tcl84.lib  ; $(tcltk64Dir)\lib\tk84.lib</tcltk64Lib>
   <tcltk64LibDebug>$(tcltk64Dir)\lib\tcl84g.lib  ;  $(tcltk64Dir)\lib\tk84g.lib</tcltk64LibDebug>