Difference between revisions of "User:Nicky Perian/Visual Studio 10 Autobuild"

From Second Life Wiki
Jump to navigation Jump to search
Line 5: Line 5:
*Install Microsoft Platform & DirectX SDKs
*Install Microsoft Platform & DirectX SDKs
Download and install [http://www.microsoft.com/downloads/en/details.aspx?FamilyID=35aeda01-421d-4ba5-b44b-543dc8c33a20 Windows SDK for Windows 7 and .NET Framework 4 (ISO)] or [http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6B6C21D2-2006-4AFA-9702-529FA782D63B Windows SDK for Windows 7 and .NET Framework 4 (Web Install)]
Download and install [http://www.microsoft.com/downloads/en/details.aspx?FamilyID=35aeda01-421d-4ba5-b44b-543dc8c33a20 Windows SDK for Windows 7 and .NET Framework 4 (ISO)] or [http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6B6C21D2-2006-4AFA-9702-529FA782D63B Windows SDK for Windows 7 and .NET Framework 4 (Web Install)]
Download and install DirectX SDK (June 2010)
[http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba Download and install DirectX SDK (June 2010)]
*Install other development tools
*Install other development tools
UniCode NSIS(download Unicode NSIS)
[http://code.google.com/p/unsis/downloads/list UniCode NSIS(download Unicode NSIS)]
This is the package installer used to build Setup.exe.  Note: As of this writing the file is downloaded with an *.exec extension that needs renamed *.exe.
This is the package installer used to build Setup.exe.  Note: As of this writing the file is downloaded with an *.exec extension that needs renamed *.exe.
*CMake (download CMake)
*CMake ([http://www.cmake.org/files/v2.8/CMakeChangeLog-2.8.1 download CMake])
should be version 2.8.1  Kitware corrected a bug related to VS2010 at 2.8.1 and it came back in the current versions but, is due to be fixed in version 2.8.4. (and ensure any other versions aren't in your PATH environment variables)
should be version 2.8.1  Kitware corrected a bug related to VS2010 at 2.8.1 and it came back in the current versions but, is due to be fixed in version 2.8.4. (and ensure any other versions aren't in your PATH environment variables)
*Cygwin (download Cygwin)
*Cygwin ([http://www.cygwin.com/ download Cygwin])
When you run the cygwin setup utility make sure you have selected to install patchutils, flex, and bison (all located under "devel") which are not part of the default install. Do not install Cygwin Python.
When you run the cygwin setup utility make sure you have selected to install patchutils, flex, and bison (all located under "devel") which are not part of the default install. Do not install Cygwin Python.
*Python (download either Python.org Standard Python or ActivePython) Note: build scripts support Python 2.6, not 2.7 yet.
*Python ([http://www.python.org/download/ download either Python.org Standard Python] or [http://www.activestate.com/activepython/downloads ActivePython]) Note: build scripts support Python 2.6, not 2.7 yet.
*TortoiseHg (download TortoiseHg) or (Mercurial Hg)  
*TortoiseHg ([http://tortoisehg.bitbucket.org/ download TortoiseHg]) or ([http://mercurial.selenic.com/release/windows/Mercurial-1.7.5.exe Mercurial Hg])  
You need to use an editor that conforms to the Coding Standard. In particular, you must not check in files with DOS line endings except in very limited circumstances; see How to avoid DOS line endings in Windows tools.
You need to use an editor that conforms to the [http://wiki.secondlife.com/wiki/Coding_Standard Coding Standard]. In particular, you must not check in files with DOS line endings except in very limited circumstances; see [http://wiki.secondlife.com/wiki/How_to_avoid_DOS_line_endings_in_Windows_tools How to avoid DOS line endings in Windows tools].
*Notepad++ (download Notepad++) (Optional)
*Notepad++ ([http://notepadplusplus.org/ download Notepad++]) (Optional)


Note: If the installer for a particular package does not update your PATH environment setting you will have to do this manually.
Note: If the installer for a particular package does not update your PATH environment setting you will have to do this manually.

Revision as of 13:21, 23 February 2011

Establish your programming environment

This is needed for compiling any viewer based on the LL open source code, but only needs to be done once.

  • Obtain Visual Studio 2010 (Express is OK)

Click here to download Visual C++ Express - current version is VS2010

  • Install Microsoft Platform & DirectX SDKs

Download and install Windows SDK for Windows 7 and .NET Framework 4 (ISO) or Windows SDK for Windows 7 and .NET Framework 4 (Web Install) Download and install DirectX SDK (June 2010)

  • Install other development tools

UniCode NSIS(download Unicode NSIS) This is the package installer used to build Setup.exe.  Note: As of this writing the file is downloaded with an *.exec extension that needs renamed *.exe.

should be version 2.8.1  Kitware corrected a bug related to VS2010 at 2.8.1 and it came back in the current versions but, is due to be fixed in version 2.8.4. (and ensure any other versions aren't in your PATH environment variables)

When you run the cygwin setup utility make sure you have selected to install patchutils, flex, and bison (all located under "devel") which are not part of the default install. Do not install Cygwin Python.

You need to use an editor that conforms to the Coding Standard. In particular, you must not check in files with DOS line endings except in very limited circumstances; see How to avoid DOS line endings in Windows tools.

Note: If the installer for a particular package does not update your PATH environment setting you will have to do this manually.