Difference between revisions of "User:Inorton/Slicer3SuperBuildWindows7"

From NAMIC Wiki
Jump to: navigation, search
(Created page with '*install CMake from here: *install msysGit from here: http://code.google.com/p/msysgit/ *install SlikSVN from here: http://www.sliksvn.com/en/download *install WinCVS from here:…')
 
Line 1: Line 1:
*install CMake from here:  
+
*install Microsoft Visual C++ Express 2010 from here: http://www.microsoft.com/express/Downloads/#2010-Visual-CPP
 +
*install CMake from here: http://www.cmake.org/cmake/resources/software.html
 
*install msysGit from here: http://code.google.com/p/msysgit/
 
*install msysGit from here: http://code.google.com/p/msysgit/
 
*install SlikSVN from here: http://www.sliksvn.com/en/download
 
*install SlikSVN from here: http://www.sliksvn.com/en/download

Revision as of 19:43, 15 October 2010

To start, checkout the Slicer3 source using svn (SlikSVN is added to system path by default).

Now run CMake.

For "Where is the source code" enter the source\SuperBuild directory, ie: C:/cmn/dev/Slicer3/SuperBuild

For "Where to build the binaries" enter something OUTSIDE the source tree, ie: C:\cmn\dev\SlicerBUILD

  • Run "Configure". Provided the steps above are set correctly, it will detect the CMakeLists and populate options.
  • Select Generator "Visual Studio 10"

It should automagically detect git, cvs, and svn. If not, turned Advanced options on and manually select the svn and cvs executables from SlikSVN and CVSNT directories respectively (C:\Program Files (x86))

  • Click Configure again
  • If no errors, click Generate.

At this point if there are no errors, all of the configuration steps should be complete. To build:

  • Go to the build directory entered above (C:\cmn\dev\SlicerBUILD)
  • Open ALL_BUILD (.SLN visual studio solution). This should open in visual studio or Visual C++ express.
  • right click on the parent: "Solution: 'Slicer3'"