Compiling the sources

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:36, 11 January 2018 (edit)
Monday (Talk | contribs)

← Previous diff
Current revision (10:58, 30 January 2018) (edit) (undo)
Bull (Talk | contribs)
m (Reverted edits by Monday (Talk); changed back to last version by Mkpl)
 
Line 1: Line 1:
-hll20180112+'''Compiling the sources''' allows you to create executables from modified code. The instructions below show you how to compile the lastest code from the SVN repositories.
-http://www.outletmichaelkorsonline.us.com+ 
-http://www.coach-outletonlines.us.com+==Preparation==
-http://www.mulberry-bags.me.uk+ 
-http://www.ralphlaurensale-clearance.me.uk+===Install Software===
-http://www.adidasnmdr1.us.com+The following software must be installed before starting.
-http://www.ultraboost.us+See [[Development Tools]] for download locations.
-http://wwwcanadagoose-uk.com.co+*.NET Framework SDK 2.0 ([http://www.microsoft.com/downloads/details.aspx?familyid=fe6f2099-b7b4-4f47-a244-c96d69c35dec&displaylang=en NET Framework 2.0 Software Development Kit (SDK) (x86)])
-http://www.longchampoutletus.us.com+:Note: If you have already installed Microsoft Visual Studio .NET 2005, you do not need to install the .NET Framework SDK separately. Visual Studio .NET 2005 includes the SDK.
-http://www.philippplein-outlet.com+*Managed DirectX ([http://www.microsoft.com/downloads/details.aspx?FamilyID=4B1F5D0C-5E44-4864-93CD-464EF59DA050&displaylang=en DirectX 9.0c Redistributable (February 2007)])
-http://www.polooutlets.us.org+:Note: Above is the latest version. World Wind should compile with [http://www.microsoft.com/downloads/details.aspx?FamilyID=9930efa6-9f7b-4c8a-aea2-97dd6ab307a2&DisplayLang=en October 2005 version]
-http://www.katespadeonlineoutlet.us.com+*A SVN client (e.g. [http://tortoisesvn.tigris.org/ TortoiseSVN])
-http://www.canadagoosesalejackets.us.com+*Visual Studio 2005 (free Visual C# Express version available from [http://msdn.microsoft.com/vstudio/express/visualcsharp/default.aspx Microsoft])
-http://www.hermes.us.org+ 
-http://www.ralphlaurensale-clearance.org.uk+===Get the Source Code===
-http://www.burberry-outlet-canada.ca+See [[source code]] for more information.
-http://www.cheapoakleysunglassesofficial.us.com+ 
-http://www.cheapraybans.com.co+====Using TortoiseSVN====
-http://www.air-max2018.us.com+#Create a directory on your drive where you'd like to develop from (eg C:\wwdev)
-http://www.red-bottoms.us.com+#Right-click in that directory and select "SVN Checkout"
-http://www.pandorajewelrypandora.us.com+##Repository:
-http://www.yeezyboost-350.us.com+###URL of repository = https://nasa-exp.svn.sourceforge.net/svnroot/nasa-exp/trunk/WorldWind
-http://www.canadagoosejacketscanada.ca+##Revision: if you want to use anything other than SVN HEAD revision, you'll have to select "Revision" radio button, then click the "Show log" button, then select the revision from the list
-http://www.uggbootsonline.us+##Click OK, and the source code should be downloaded
-http://www.canadagoosesaleoutlet.us.com+##Click OK to close the TortoiseSVN window
-http://www.uggbootswomen.us.com+ 
-http://wwwcanadagoose-jacketsuk.com.co+==Compile the Source Code==
-http://www.polooutlet.in.net+ 
-http://www.canadagooseoutletus.us.com+===Compiling using Visual Studio===
-http://www.airmax-2018.com+ 
-http://www.adidasyeezyboost-350.us.com+====Compile within Visual C# Express====
-http://www.hermes-handbags.us+Replace C:\wwdev\ with your source directory:
-http://www.michaelkorsoutlet.us.org+#Navigate to the following file and double click it:
-http://www.cheapnfljerseysnflwholesale.us.com+##C:\wwdev\WorldWind\WorldWindow.csproj
-http://www.uggsboots.name+##or C:\wwdev\WorldWind.sln
-http://www.adidas-yeezyshoes.us.com+#From the Build menu, select Build Solution, and in the Output window you should get a message that the build succeeded.
-http://www.ralphlauren-outlet.me.uk+#Close Visual Studio
-http://www.ralphlauren.me.uk+:You may choose 'Debug' or 'Release' from the Build->Configuration Manager menu.
-http://www.pandora.us.com+=====Importing into Visual C# 2008 Express=====
-http://www.michaelkorsfactoryoutletsale.us.com+#Click ''File->Open Project''
-http://www.pandora-charms.us.org+#Navigate to the source directory
-http://www.uggsoutletonlines.us.com+#Choose ''WorldWind.sln'' and click ''Open''
-http://www.timberland-outlets.us+#In the Conversion Wizard click ''Next''
-http://www.cheapnfljerseysofficial.us.com+##You can create a backup before converting the project.
-http://www.harden-vol1.com+#Click ''Next'' again, review the summary and click ''Finish''
-http://www.uggoutletstore.name+##Here you can review coversion errors - just ignore them, WW should compile fine.
-http://www.toryburchoutletonline.com.co+#Click ''Close''... Voilà! You can compile WW now. Make sure to choose 'Debug' or 'Release' from the Build->Configuration Manager menu as some of the other configurations will give errors.
-http://www.polo-ralphlauren.in.net+ 
-http://www.canadagooseoutlet.name+====Compile from the commandline====
-http://www.ralphlaurenoutlet.in.net+# Launch the 'Visual Studio .NET 2005 Command Prompt' (under Start / Programs / Visual Studio .NET / Visual Studio .NET Tools)
-http://www.michael-korsoutlet.ca+# CD to the WorldWind source root.
-http://www.uggoutletonline.name+# Run 'Devenv.exe WorldWindow.sln /build Debug'
-http://www.cheapjordans.in.net+# Run 'Devenv.exe WorldWind.sln /build Debug'
-http://www.nikeoutlet.us.com+:Replace 'Debug' with 'Release' as desired
-http://www.nikeairmax.in.net+:As of 1.3.0 the references in the Release build point to /Debug dll's. So to /rebuild a release, /rebuild debug first.
-http://www.uggs-boots.us.org+ 
-http://www.yeezyboost.org.uk+==Data Setup==
-http://www.nike-store.us.com+Select one of the following options:
-http://www.uggsaustralia.fr+#Use a fresh copy of imagery and terrain data - just proceed to the next section to run the compiled code
-http://www.uggsoutlet.cc+#If you already have a version of World Wind installed, and you already have files on your PC's harddisk that you want to make use of:
-http://www.coachfactoryoutlet-storeonline.us.com+##Cache files - use either of the following:
-http://www.moncler-outlet.us.org+###Copy your existing Cache directory (e.g. C:\Program FIles\NASA\World Wind\Cache) to be a subdirectory of the directory containing your compiled source code's executable file (e.g. C:\wwdev\bin\debug\Cache)
-http://www.air-jordans.us.com+###If you already have a version of World Wind installed, and you already have files cached on your PC's harddisk that you want to make use of, then you can change your compiled version of World Wind to point to that existing directory. Run World Wind, press Alt+Q, then change the Cache path to point to your exisiting Cache directory, close the window, then restart World Wind.
-http://www.pandoracharms.us.com+ 
-http://www.oakley.nom.co+==Run Your Compiled Code==
-http://www.coachhandbagsoutlet.us.com+Your newly built World Wind should now be ready to go. Double click on WorldWind.exe (e.g. C:\wwdev\bin\Debug\WorldWind.exe) and it should start.
-http://www.moncleroutlets.us.org+ 
-http://www.uggscanadaugg.ca+If you make changes to the source files that you would like to compile, just follow the [[#Compile the Code|Compile the Code]] instructions again to recompile, and after the compile, make sure to save the changes.
-http://www.christianlouboutinoutlet.us+ 
-http://www.outletlouisvuitton.us.com+==See also==
-http://www.jordanretro.name+*[[Latest builds]] to get already compiled builds
-http://www.guccihandbagsoutlet.us.com+ 
-http://www.oakleysunglassesforwomen.us.com+[[Category:Dev]]
-http://www.michael-korshandbags.me.uk+
-http://www.outletuggoutlet.us.com+
-http://www.uggs-boots.fr+
-http://www.salvatoreferragamoshoes.us.com+
-http://www.katespadeoutletstoreonline.us.com+
-http://www.canadagoosejacketssale.com.co+
-http://www.canadagooseukjackets.me.uk+
-http://www.nikezoom.us+
-http://www.airmax-97.us+
-http://www.uggoutlet-store.us+
-http://www.canadagooseoutlet-jackets.us+
-http://www.timberlandbootsoutlets.us.com+
-http://www.coachoutlet-onlinesale.us.com+
-http://www.raybansunglasses.net.co+
-http://www.ralph-laurenoutlet.com.co+
-http://www.pandoracharmssaleclearance.uk+
-http://www.canadagooseoutletjackets.com.co+
-http://www.mbtshoessale.us.com+
-http://www.coachoutletstoreonline.com.co+
-http://www.adidasnmd-shoes.us+
-http://www.kate-spade.us.com+
-http://www.louisvuittonoutlet.us.org+
-http://www.michaelkorsoutletclearance.in.net+
-http://www.adidasshoe.us.com+
-http://www.canadagooseoutletjackets.us+
-http://www.michaelkorsoutletonlinemichaelkors.us.com+
-http://www.uggsoutletclearance.us.com+
-http://www.canadagoose-outlet.name+
-http://www.canadagoosejacketsoutlet.name+
-http://www.ralphlaurenoutletonline-polo.us.com+
-http://www.adidas-nmd.us.com+
-http://www.adidasnmd.us.org+
-http://www.katespade.in.net+
-http://www.louboutinshoes.in.net+
-http://www.monclerjacketsoutlet.in.net+
-http://www.uggsoutletstoreonline.us.com+
-http://www.hermesbirkin.in.net+
-http://www.adidas-shoes.us.com+
-http://www.poloralphlaurenoutletonline.us.com+
-http://www.michaelkors-outlet.ca+
-http://www.coachfactory-outletonline.us.org+
-http://www.nikeoutlet.in.net+
-http://www.uggsbootsonline.us.com+
-http://www.cheapmlbjerseyschina.us.com+
-http://www.oakleysunglassessalecheap.us.com+
-http://www.katespadehandbagsclearance.us.com+
-http://www.nikeshoes.in.net+
-http://www.fitflopssale-clearance.us.org+
-http://www.longchamp-outlet.us.com+
-http://www.pandoracharms.name+
-http://www.outletcanadagoose.us+
-http://www.airmax-97.us.com+
-http://www.raybansunglassessalecheap.us.com+
-http://www.uggbootssales.us.com+
-http://www.cheapoakleysunglasses.com.co+
-http://www.coachoutlet-online.us.org+
-http://www.michaelkorsoutletshopping.us.com+
-http://www.ralphlaurenoutletpolo.org.uk+
-http://www.canadiangoose.us.com+
-http://www.pandora-outlet.us.com+
-http://www.jordanshoesforsale.us.com+
-http://www.michaelkorsoutlet1.us.com+
-http://www.ralph-laurenoutlet.org.uk+
-http://www.ralph-laurenuk.org.uk+
-http://www.coach-outletonline.us.org+
-http://www.timberlandbootsoutlet.us.com+
-http://www.raybansunglasse.com+
-http://www.adidas-superstar.us.com+
-http://www.northface-jackets.us.com+
-http://www.coachoutletcanada.ca+
-http://www.canadagooseukjackets.org.uk+
-http://www.michael-korsoutlets.us.com+
-http://www.ralphlaurenoutletsale.us.com+
-http://www.nikeshoes.us.com+
-http://www.supremeclothing.us.org+
-http://www.thenorthfacejacketsoutlet.us.com+
-http://www.monclerjacketsuk.org.uk+
-http://www.uggoutletonlines.us+
-http://www.doudounemonclerpascher.fr+
-http://www.coachoutletus.us.com+
-http://www.outletcoachoutlet.us.com+
-http://www.ugg-boots.net.co+
-http://www.airjordanshoes.in.net+
-http://www.cheapjordans-shoes.us.com+
-http://www.cheapjordanshoes.us.com+
-http://www.raybanssunglassesoutlet.us.com+
-http://www.moncleroutlet.me.uk+
-http://www.michaelkorsoutlet.co.uk+
-http://www.uggbootsoutletstores.us.com+
-http://www.oakley--sunglasses.us.org+
-http://www.louisvuitton-outlet.us.com+
-http://www.cheapjordan-shoes.in.net+
-http://www.uggsoutletus.us.com+
-http://www.adadassuperstar.com+
-http://www.cheapjordans.com.co+
-http://www.catboots.us+
-http://www.ralphlaurenoutletmalls.us.com+
-http://www.vuittonlouis.us.com+
-http://www.cheapuggs.com.co+
-http://www.burberryoutlet.in.net+
-http://www.christianlouboutinshoes.us.org+
-http://www.michaelkorsoutletonlineclearance.in.net+
-http://www.outletcoachonline.us.com+
-http://ugg.bootsoutlet.us.com+
-http://www.valentinoshoesoutlets.us.com+
-http://www.pandoracharmssale-clearance.us.com+
-http://www.fitflopssale.us.com+
-http://www.nfljerseyscheapwholesale.us.com+
-http://www.coach-factory-outlet.us.org+
-http://www.yeezyboost.us.com+
-http://www.thenorthface.us.com+
-http://www.2017nikeairmax.us+
-http://www.monclerjacketssale.us.com+
-http://www.supremenewyork.us.com+
-http://www.coachfactoryonlineoutlet.com.co+
-http://www.coach-factoryoutletonline.us.org+
-http://www.pandorastore.us.com+
-http://www.ralphlauren-outletpolo.us.com+
-http://www.coachoutletonlinecoachfactoryoutlet.us.com+
-http://www.coach-factoryoutlet-online.us.com+
-http://www.ugg-outlets.us+
-http://www.canadagoosejacketscoats.org.uk+
-http://www.fredperrypoloshirts.us+
-http://www.adidascampusshoes.us+
-http://www.coachoutletmalls.us.com+
-http://www.canadagoosejackets-outlet.us+
-http://wwwmonclerjacketsuk.com.co+
-http://www.ugg-outletstores.us.com+
-http://www.ferragamo-outlet.us.com+
-http://www.adidas.us.com+
-http://www.redbottomsshoes.us.com+
-http://www.burberry.us.com+
-http://www.canadagoosejacketsofficial.us.com+
-http://www.korsmichaeloutlet.us.com+
-http://www.coachoutletsonlines.us.com+
-http://www.michael-kors-handbags.us.org+
-http://www.airjordans.us.com+
-http://www.canadagooseoutletjackets.us.com+
-http://www.supreme-clothing.us.com+
-http://www.uggsbootscanada.ca+
-http://www.pandora-jewelryoutlet.us.com+
-http://www.longchamphandbagsuk.org.uk+
-http://www.coachfactory-outletstore.us.com+
-http://www.poloralphlaurenoutletpolo.us.com+
-http://www.uggoutlet-clearance.us.com+
-http://www.uggbootsoutletsale.us.com+
-http://www.northfacejacketssale.us.com+
-http://www.canadagooseoutletcanada.com.co+
-http://www.columbiasportswear.us.com+
-http://www.canadagoosesoutlet.ca+
-http://www.canadagooseoutletjackets.ca+
-http://www.coachoutletstoreonlineclearances.in.net+
-http://www.burberryoutletsale.com.co+
-http://www.cheapuggssale.com.co+
-http://www.mulberryoutlet.org.uk+
-http://www.coach-outlets.us.com+
-http://www.hermesbag.us.com+
-http://www.yeezyboost-350.co.uk+
-http://www.northfaceoutlet.us.com+
-http://www.supremeclothing.org.uk+
-http://www.uggsoutlets.name+
-http://www.adidas-yeezyboost.us.com+
-http://www.coachfactory-outlet.us.com+
-http://www.canadagooseoutlets.us+
-http://www.adidas-outlet.us.com+
-http://www.canadagooseclothing.us.com+
-http://www.michaelkorsoutlets.us.com+
-http://www.rayban-sunglasseoutlet.us.com+
-http://www.northfacejacketsoutlet.com.co+
-http://www.birkenstocks.us+
-http://www.philipppleinshirt.com+
-http://www.jacketscanadagoose.org.uk+
-http://www.fitflops-sale-clearance.us.com+
-http://www.cheapuggs.net.co+
-http://www.adidasoutlet.us.com+
-http://www.canadagooseoutletonlines.us+
-http://www.uggsbootsaustralia.us.com+
-http://www.coachfactoryoutletsonlines.us.com+
-http://www.coachoutlets.us.org+
-http://www.cheapuggboots.us.com+
-http://www.michael-korsoutlet.us.com+
-http://www.moncler-outlets.us.com+
-http://www.pandoracharms-uk.org.uk+
-http://www.pandoracharms.com.co+
-http://www.uggs-boots.us+
-http://www.adidasyeezyshoes.us.com+
-http://www.canadagooseoutletstores.us+
-http://www.nikeoutletonline.us.com+
-http://www.uggshoes.us.com+
-http://www.coachcanadaoutlet.ca+
-http://www.mbtshoes.name+
-http://www.pandorajewelryoutlet.in.net+
-http://www.cheapuggs-boots.us.com+
-http://www.outletcanadagooseoutlet.us.com+
-http://www.moncleroutletonlines.us.com+
-http://www.guccioutlets.us.org+
-http://www.uggoutlets.name+
-hll20180112+

Current revision

Compiling the sources allows you to create executables from modified code. The instructions below show you how to compile the lastest code from the SVN repositories.

Contents

[edit] Preparation

[edit] Install Software

The following software must be installed before starting. See Development Tools for download locations.

Note: If you have already installed Microsoft Visual Studio .NET 2005, you do not need to install the .NET Framework SDK separately. Visual Studio .NET 2005 includes the SDK.
Note: Above is the latest version. World Wind should compile with October 2005 version
  • A SVN client (e.g. TortoiseSVN)
  • Visual Studio 2005 (free Visual C# Express version available from Microsoft)

[edit] Get the Source Code

See source code for more information.

[edit] Using TortoiseSVN

  1. Create a directory on your drive where you'd like to develop from (eg C:\wwdev)
  2. Right-click in that directory and select "SVN Checkout"
    1. Repository:
      1. URL of repository = https://nasa-exp.svn.sourceforge.net/svnroot/nasa-exp/trunk/WorldWind
    2. Revision: if you want to use anything other than SVN HEAD revision, you'll have to select "Revision" radio button, then click the "Show log" button, then select the revision from the list
    3. Click OK, and the source code should be downloaded
    4. Click OK to close the TortoiseSVN window

[edit] Compile the Source Code

[edit] Compiling using Visual Studio

[edit] Compile within Visual C# Express

Replace C:\wwdev\ with your source directory:

  1. Navigate to the following file and double click it:
    1. C:\wwdev\WorldWind\WorldWindow.csproj
    2. or C:\wwdev\WorldWind.sln
  2. From the Build menu, select Build Solution, and in the Output window you should get a message that the build succeeded.
  3. Close Visual Studio
You may choose 'Debug' or 'Release' from the Build->Configuration Manager menu.
[edit] Importing into Visual C# 2008 Express
  1. Click File->Open Project
  2. Navigate to the source directory
  3. Choose WorldWind.sln and click Open
  4. In the Conversion Wizard click Next
    1. You can create a backup before converting the project.
  5. Click Next again, review the summary and click Finish
    1. Here you can review coversion errors - just ignore them, WW should compile fine.
  6. Click Close... Voilà! You can compile WW now. Make sure to choose 'Debug' or 'Release' from the Build->Configuration Manager menu as some of the other configurations will give errors.

[edit] Compile from the commandline

  1. Launch the 'Visual Studio .NET 2005 Command Prompt' (under Start / Programs / Visual Studio .NET / Visual Studio .NET Tools)
  2. CD to the WorldWind source root.
  3. Run 'Devenv.exe WorldWindow.sln /build Debug'
  4. Run 'Devenv.exe WorldWind.sln /build Debug'
Replace 'Debug' with 'Release' as desired
As of 1.3.0 the references in the Release build point to /Debug dll's. So to /rebuild a release, /rebuild debug first.

[edit] Data Setup

Select one of the following options:

  1. Use a fresh copy of imagery and terrain data - just proceed to the next section to run the compiled code
  2. If you already have a version of World Wind installed, and you already have files on your PC's harddisk that you want to make use of:
    1. Cache files - use either of the following:
      1. Copy your existing Cache directory (e.g. C:\Program FIles\NASA\World Wind\Cache) to be a subdirectory of the directory containing your compiled source code's executable file (e.g. C:\wwdev\bin\debug\Cache)
      2. If you already have a version of World Wind installed, and you already have files cached on your PC's harddisk that you want to make use of, then you can change your compiled version of World Wind to point to that existing directory. Run World Wind, press Alt+Q, then change the Cache path to point to your exisiting Cache directory, close the window, then restart World Wind.

[edit] Run Your Compiled Code

Your newly built World Wind should now be ready to go. Double click on WorldWind.exe (e.g. C:\wwdev\bin\Debug\WorldWind.exe) and it should start.

If you make changes to the source files that you would like to compile, just follow the Compile the Code instructions again to recompile, and after the compile, make sure to save the changes.

[edit] See also

Personal tools