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

From NAMIC Wiki
Jump to: navigation, search
Line 11: Line 11:
 
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.
  
UPDATE: OK, this is not working.  Going to try with "NMake Makefiles"
+
OK, this is not working.  Going to try with "NMake Makefiles"
  
 +
Nope.  Doesn't work that way either.
  
UPDATE1: Nope. Doesn't work that way either.
+
CMake must not be compatible with the latest VCExpress, should be able to download VC++ 2005 [http://www.microsoft.com/express/2005/download/default.aspx here], but it's not cooperating.
  
 
+
[http://go.microsoft.com/fwlink/?LinkId=51410&clcid=0x409 "VC++ 2005 here"]
UPDATE2: CMake must not be compatible with the latest VCExpress, should be able to download VC++ 2005 [hhttp://www.microsoft.com/express/2005/download/default.aspx here Express2005], but it's not cooperating.
 

Revision as of 14:43, 22 December 2007

Home < Slicer:Build Instructions:MSVS9

I had to add the following to slicer_variables.tcl and slicer_variables2.tcl:

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.

OK, this is not working. Going to try with "NMake Makefiles"

Nope. Doesn't work that way either.

CMake must not be compatible with the latest VCExpress, should be able to download VC++ 2005 here, but it's not cooperating.

"VC++ 2005 here"