Difference between revisions of "Tutorial:Compiling & Installing SWORD on Windows"

From CrossWire Bible Society
Jump to: navigation, search
(Compiling cURL: pointed cURL link to their latest download page, since their metalink itself appears broken)
(being explicit about what is meant by "Build all")
Line 11: Line 11:
 
# Open $dir$\curl\vc6curl.dsw
 
# Open $dir$\curl\vc6curl.dsw
 
# Allow Visual Studio to update the project files
 
# Allow Visual Studio to update the project files
# Build all
+
# Build all (Click Build | Batch Build... | Select All | Build)
  
 
=== Compiling icu-sword ===
 
=== Compiling icu-sword ===
Line 18: Line 18:
 
# Extract the tarball to $dir$
 
# Extract the tarball to $dir$
 
# Open $dir$\icu-sword\source\allinone\allinone.sln
 
# Open $dir$\icu-sword\source\allinone\allinone.sln
# Build all
+
# Build all (Click Build | Batch Build... | Select All | Build)
  
 
=== Compiling libsword ===
 
=== Compiling libsword ===
Line 25: Line 25:
 
#:If you are building utilities or diatheke, the following steps are not necessary:
 
#:If you are building utilities or diatheke, the following steps are not necessary:
 
# Open $dir$\sword-$version$\lib\vcppmake\vc8\libsword.vcproj
 
# Open $dir$\sword-$version$\lib\vcppmake\vc8\libsword.vcproj
# Build all
+
# Build all (Click Build | Batch Build... | Select All | Build)
  
 
=== Compiling utilities ===
 
=== Compiling utilities ===
  
 
# Open $dir$\sword-$version$\utilities\vcppmake\utilities.sln
 
# Open $dir$\sword-$version$\utilities\vcppmake\utilities.sln
# Build all
+
# Build all (Click Build | Batch Build... | Select All | Build)
  
 
=== Compiling diatheke ===
 
=== Compiling diatheke ===
  
 
# Open $dir$\sword-$version$\utilities\diatheke\diatheke.vcproj
 
# Open $dir$\sword-$version$\utilities\diatheke\diatheke.vcproj
# Build all
+
# Build all (Click Build | Batch Build... | Select All | Build)
  
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 00:08, 23 August 2010

For compiling on Linux, see Tutorial:Compiling & Installing SWORD.

Compiling The SWORD Project using MS Visual Studio 2008

  1. Create a build directory, hereafter referred to as $dir$. Much of the Sword build process expects that various downloads be unpacked to the same directory.

Compiling cURL

  1. Download the latest release of cURL
  2. Extract the ZIP to $dir$
  3. Rename the cURL directory to "curl" (with no version number)
  4. Open $dir$\curl\vc6curl.dsw
  5. Allow Visual Studio to update the project files
  6. Build all (Click Build | Batch Build... | Select All | Build)

Compiling icu-sword

  1. Download the latest release of icu-sword
  2. Extract the tarball to $dir$
  3. Open $dir$\icu-sword\source\allinone\allinone.sln
  4. Build all (Click Build | Batch Build... | Select All | Build)

Compiling libsword

  1. Download the latest release of The SWORD Project
  2. Extract the tarball to $dir$
    If you are building utilities or diatheke, the following steps are not necessary:
  3. Open $dir$\sword-$version$\lib\vcppmake\vc8\libsword.vcproj
  4. Build all (Click Build | Batch Build... | Select All | Build)

Compiling utilities

  1. Open $dir$\sword-$version$\utilities\vcppmake\utilities.sln
  2. Build all (Click Build | Batch Build... | Select All | Build)

Compiling diatheke

  1. Open $dir$\sword-$version$\utilities\diatheke\diatheke.vcproj
  2. Build all (Click Build | Batch Build... | Select All | Build)