Compiling the sources

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:06, 18 February 2005 (edit)
80.131.159.63 (Talk)

← Previous diff
Revision as of 18:15, 18 February 2005 (edit) (undo)
80.131.159.63 (Talk)
(Updated to reflect the new cleaned-up directory structure and CVS)
Next diff →
Line 1: Line 1:
-'''NOTE: these instructions need updating, they won't work with the current Alpha2 directory structure''' 
- 
This text describes how to retrieve, compile and run the World Wind (V1.3 as of this writing) source code from SourceForge. This text describes how to retrieve, compile and run the World Wind (V1.3 as of this writing) source code from SourceForge.
Line 8: Line 6:
Note that you'll end up with two seperate WorldWind installations: 1.2e retail, Note that you'll end up with two seperate WorldWind installations: 1.2e retail,
-and the current version with the source code, and the binaries in \bin\Debug+and the current version with the source code, with its binaries in \bin\Debug
In the following, <CVS> refers to your CVS working directory or sandbox. In the following, <CVS> refers to your CVS working directory or sandbox.
Line 23: Line 21:
* From the \Data directory of the "retail" install (usually C:\Program Files\NASA\WorldWind v<version>\Data) copy the following directories to the newly * From the \Data directory of the "retail" install (usually C:\Program Files\NASA\WorldWind v<version>\Data) copy the following directories to the newly
created "Earth": created "Earth":
-**BlueMarbleTextures+ BlueMarbleTextures
-**Boundaries+ Boundaries
-**Placenames+ Placenames
* In Visual Studio, open <CVS>\WorldWind\v1_3QuadTileDirectoryFixer\v1_3QuadTileDirectoryFixer.sln, compile, and run it. * In Visual Studio, open <CVS>\WorldWind\v1_3QuadTileDirectoryFixer\v1_3QuadTileDirectoryFixer.sln, compile, and run it.
* QuadTileDirectoryFixer will ask for a directory - point it to <CVS>\WorldWind\bin\Debug\Data\Earth\BlueMarbleTextures and press "Fix". * QuadTileDirectoryFixer will ask for a directory - point it to <CVS>\WorldWind\bin\Debug\Data\Earth\BlueMarbleTextures and press "Fix".
* Launch <CVS>\WorldWind\bin\Debug\WorldWind.exe - good luck! * Launch <CVS>\WorldWind\bin\Debug\WorldWind.exe - good luck!
- 
-Note: By default, both "Visible Landset" and "Add-Ons/Test Landset" are on - this may 
-cause layer interference and "black holes" in areas without "Test Landset" coverage. 
-For North America, switch off "Visible Landsat" and enjoy the gorgeous new color layer. 
-For Europe et. al., switch off Add-Ons/Test Landset to be able to see the regular tiles. 
(gillesk, 05-feb-05) (gillesk, 05-feb-05)
Line 41: Line 34:
To build from the command line. To build from the command line.
-*Open the 'Visual Studio .NET 2003 Command Prompt'+*Launch the 'Visual Studio .NET 2003 Command Prompt' (under Start / Programs / Visual Studio .NET / Visual Studio .NET Tools)
*CD to the WorldWind source root. *CD to the WorldWind source root.
*Run 'Devenv.exe WorldWindow.sln /build Debug' and 'Devenv.exe WorldWind.sln /build Debug' *Run 'Devenv.exe WorldWindow.sln /build Debug' and 'Devenv.exe WorldWind.sln /build Debug'

Revision as of 18:15, 18 February 2005

This text describes how to retrieve, compile and run the World Wind (V1.3 as of this writing) source code from SourceForge.

It assumes you've already got CVS access working - this page describes setting up anonymous CVS access.

For read-write CVS access, check out these instructions.

Note that you'll end up with two seperate WorldWind installations: 1.2e retail, and the current version with the source code, with its binaries in \bin\Debug

In the following, <CVS> refers to your CVS working directory or sandbox.

  • Retrieve the source code tree from CVS as a clean update into an empty sandbox.
  • Open <cvs>\WorldWind\WorldWindow.sln and compile it.
  • Open <cvs>\WorldWind\WorldWind.sln and compile it.
  • Either:
  • Uninstall any older "retail" copy of WorldWind 1.2. (Skip if you haven't got it installed yet)
  • Download and install World Wind 1.2e full (or the latest available retail version)
  • Or:
  • In <CVS>\WorldWind\bin\Debug create a directory "Earth"
  • From the \Data directory of the "retail" install (usually C:\Program Files\NASA\WorldWind v<version>\Data) copy the following directories to the newly

created "Earth":

BlueMarbleTextures
Boundaries
Placenames
  • In Visual Studio, open <CVS>\WorldWind\v1_3QuadTileDirectoryFixer\v1_3QuadTileDirectoryFixer.sln, compile, and run it.
  • QuadTileDirectoryFixer will ask for a directory - point it to <CVS>\WorldWind\bin\Debug\Data\Earth\BlueMarbleTextures and press "Fix".
  • Launch <CVS>\WorldWind\bin\Debug\WorldWind.exe - good luck!


(gillesk, 05-feb-05)


To build from the command line.

  • Launch the 'Visual Studio .NET 2003 Command Prompt' (under Start / Programs / Visual Studio .NET / Visual Studio .NET Tools)
  • CD to the WorldWind source root.
  • Run 'Devenv.exe WorldWindow.sln /build Debug' and 'Devenv.exe WorldWind.sln /build Debug'

(Replace 'Debug' with 'Release' as desired)

(adamhill 17-feb-05)

Personal tools