Here is a guide for getting set up developing WorldWind using only freely downloadable tools (ie no Visual Studio).
First you need to do some downloading (440mb all up). The version numbers shown are the versions I got at the time of writing.
You should be ok just getting the latest version available.
Install WorldWind 1.3 from http://worldwind.arc.nasa.gov/
Install WinCVS 1.3.20.3 from http://www.wincvs.org/
Install .NET Framework SDK 1.1 from http://www.microsoft.com/downloads/details...&displaylang=en
Install DirectX 9.0 SDK Update (February 2005) from http://www.microsoft.com/downloads/details...&displaylang=en
Install Nant 0.85-rc2 from http://nant.sourceforge.net/
Create a directory on your drive where you'd like to develop from (eg C:\wwdev)
Launch WinCVS
Select your directory in the directory pane on the left side
Right Click and choose "Checkout Module..."
Type "WorldWind" in "Module Name and path on the server"
Type "server;username=anonymous;hostname=cvs.s ourceforge.net:/cvsroot/nasa-exp" in "CVSROOT"
Click OK. CVS Will now check out the source code for WorldWind in a "WorldWind" directory under your chosen one.
(A window may come up asking for your default directory. Just click OK)
Close WinCVS
Create a file called "default.build" in your WorldWind directory (eg C:\wwdev\WorldWind\defaul t.build) containing the following:
Now, make some modifications to some files:
In "PluginSDK/RenderableObject.cs" remove the first "using System;" line.
In "PluginSDK/WorldWindSettings.cs" replace "public class WorldWindSettings : SettingsBase" with "public class WorldWindSettings : WorldWind.Serialization.SettingsBase"
In "WorldXmlDescriptor/WorldXmlDescriptor.csproj" replace 3DA89709-9AB5-4242-8211-99629839967C with 9EA1E65D-4558-E940-B594-E71BF740FA04
In "LayerSet/LayerSet.csproj" replace 9CE1A47D-2800-3F4D-B4F9-D8F8D4E16ABB with 66D4A736-2FE2-C64F-BA20-16B934D3B744
In "Worlds/Worlds.csproj" replace 7184D008-F944-3449-A973-0ECE4891AA3B with 434BAA16-5870-E145-8A88-1290510E78A9
In "NRL_Monterey/NRL_Monterey.csproj" replace 8D68A573-C0A5-AB45-831A-2DD011A4D5B6 with A6C7E938-BEDE-D84B-8440-61019C154AAC
(To the admins: Would it be possible to get these changes checked into CVS?)
Open a Command Prompt and cd to your work directory (cd \wwdev\WorldWind)
Type "c:\nant-0.85-rc2\bin\nant" (change the path to reflect where you installed Nant)
If all goes well, you should get BUILD SUCCEEDED in the end
Now copy the "C:\Program Files\NASA\World Wind 1.3\Data\Earth" directory to "C:\wwdev\WorldWind\bin� 92;Debug\Data"
Your newly built WorldWind should now be ready to go. Double click on "WorldWind.exe" in "C:\wwdev\WorldWind\bin� 92;Debug"
and it should start.
If you make changes to the source files that you would like to compile, just run the nant command again to recompile.
Happy hacking,
Rob.
First you need to do some downloading (440mb all up). The version numbers shown are the versions I got at the time of writing.
You should be ok just getting the latest version available.
Install WorldWind 1.3 from http://worldwind.arc.nasa.gov/
Install WinCVS 1.3.20.3 from http://www.wincvs.org/
Install .NET Framework SDK 1.1 from http://www.microsoft.com/downloads/details...&displaylang=en
Install DirectX 9.0 SDK Update (February 2005) from http://www.microsoft.com/downloads/details...&displaylang=en
Install Nant 0.85-rc2 from http://nant.sourceforge.net/
Create a directory on your drive where you'd like to develop from (eg C:\wwdev)
Launch WinCVS
Select your directory in the directory pane on the left side
Right Click and choose "Checkout Module..."
Type "WorldWind" in "Module Name and path on the server"
Type "server;username=anonymous;hostname=cvs.s ourceforge.net:/cvsroot/nasa-exp" in "CVSROOT"
Click OK. CVS Will now check out the source code for WorldWind in a "WorldWind" directory under your chosen one.
(A window may come up asking for your default directory. Just click OK)
Close WinCVS
Create a file called "default.build" in your WorldWind directory (eg C:\wwdev\WorldWind\defaul t.build) containing the following:
<?xml version="1.0"?>
<project name="WorldWind" default="build">
<property name="dotnetdir" value="C:\WINDOWS\Microsoft.NE T"/>
<fileset id="assembly">
<include name="${dotnetdir}\Framework&# 092;v1.1.4322"/>
<include name="${dotnetdir}\Managed DirectX\v9.05.132"/>
</fileset>
<target name="build">
<solution configuration="debug" solutionfile="WorldWindow.sln">
<assemblyfolders refid="assembly"/>
</solution>
<solution configuration="debug" solutionfile="WorldWind.sln">
<assemblyfolders refid="assembly"/>
</solution>
</target>
</project>
<project name="WorldWind" default="build">
<property name="dotnetdir" value="C:\WINDOWS\Microsoft.NE T"/>
<fileset id="assembly">
<include name="${dotnetdir}\Framework&# 092;v1.1.4322"/>
<include name="${dotnetdir}\Managed DirectX\v9.05.132"/>
</fileset>
<target name="build">
<solution configuration="debug" solutionfile="WorldWindow.sln">
<assemblyfolders refid="assembly"/>
</solution>
<solution configuration="debug" solutionfile="WorldWind.sln">
<assemblyfolders refid="assembly"/>
</solution>
</target>
</project>
In "PluginSDK/RenderableObject.cs" remove the first "using System;" line.
In "PluginSDK/WorldWindSettings.cs" replace "public class WorldWindSettings : SettingsBase" with "public class WorldWindSettings : WorldWind.Serialization.SettingsBase"
In "WorldXmlDescriptor/WorldXmlDescriptor.csproj" replace 3DA89709-9AB5-4242-8211-99629839967C with 9EA1E65D-4558-E940-B594-E71BF740FA04
In "LayerSet/LayerSet.csproj" replace 9CE1A47D-2800-3F4D-B4F9-D8F8D4E16ABB with 66D4A736-2FE2-C64F-BA20-16B934D3B744
In "Worlds/Worlds.csproj" replace 7184D008-F944-3449-A973-0ECE4891AA3B with 434BAA16-5870-E145-8A88-1290510E78A9
In "NRL_Monterey/NRL_Monterey.csproj" replace 8D68A573-C0A5-AB45-831A-2DD011A4D5B6 with A6C7E938-BEDE-D84B-8440-61019C154AAC
(To the admins: Would it be possible to get these changes checked into CVS?)
Open a Command Prompt and cd to your work directory (cd \wwdev\WorldWind)
Type "c:\nant-0.85-rc2\bin\nant" (change the path to reflect where you installed Nant)
If all goes well, you should get BUILD SUCCEEDED in the end
Now copy the "C:\Program Files\NASA\World Wind 1.3\Data\Earth" directory to "C:\wwdev\WorldWind\bin� 92;Debug\Data"
Your newly built WorldWind should now be ready to go. Double click on "WorldWind.exe" in "C:\wwdev\WorldWind\bin� 92;Debug"
and it should start.
If you make changes to the source files that you would like to compile, just run the nant command again to recompile.
Happy hacking,
Rob.
Comment