Difference between revisions of "Slicer:Build Instructions:MSVS9"

From NAMIC Wiki
Jump to: navigation, search
(New page: I had to add the following to slicer_variables.tcl for getbuildtest.tcl to work: if { [file exists "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"] } { ...)
 
Line 1: Line 1:
 
I had to add the following to slicer_variables.tcl for getbuildtest.tcl to work:
 
I had to add the following to slicer_variables.tcl for getbuildtest.tcl to work:
  
 
+
if { [file exists "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"] } {
        if { [file exists "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"] } {
+
  set ::GENERATOR "Visual Studio 8 2005"  
            set ::GENERATOR "Visual Studio 9.0"  
+
  set ::MAKE "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"
            set ::MAKE "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"
+
  set ::COMPILER_PATH "c:/Program Files/Microsoft Visual Studio 9.0/VC/bin"
            set ::COMPILER_PATH "c:/Program Files/Microsoft Visual Studio 9.0/VC/bin"
+
}
        }
 
  
 
This after installing the latest Visual C++ 2008 Express Edition from http://www.microsoft.com/express/download/
 
This after installing the latest Visual C++ 2008 Express Edition from http://www.microsoft.com/express/download/
  
 
I also had to run the vcsetup.exe, then the PSDK installer, then vcsetup.exe a final time before getting a Studio directory.
 
I also had to run the vcsetup.exe, then the PSDK installer, then vcsetup.exe a final time before getting a Studio directory.

Revision as of 06:25, 22 December 2007

Home < Slicer:Build Instructions:MSVS9

I had to add the following to slicer_variables.tcl for getbuildtest.tcl to work:

if { [file exists "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"] } {
  set ::GENERATOR "Visual Studio 8 2005" 
  set ::MAKE "c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/VCExpress.exe"
  set ::COMPILER_PATH "c:/Program Files/Microsoft Visual Studio 9.0/VC/bin"
}

This after installing the latest Visual C++ 2008 Express Edition from http://www.microsoft.com/express/download/

I also had to run the vcsetup.exe, then the PSDK installer, then vcsetup.exe a final time before getting a Studio directory.