Difference between revisions of "Tutorial:Compiling & Installing SWORD on Windows"
From CrossWire Bible Society
(→Cross Compiling Sword for MS Windows on Suse Linux with MingW) |
|||
Line 39: | Line 39: | ||
== Cross Compiling Sword for MS Windows on Suse Linux with MingW == | == Cross Compiling Sword for MS Windows on Suse Linux with MingW == | ||
− | ==Suse with MingW== | + | ===Suse with MingW=== |
Installation of all necessary dependencies of Sword, but for CLucene - libcurl, ICU, libgnurx etc - | Installation of all necessary dependencies of Sword, but for CLucene - libcurl, ICU, libgnurx etc - | ||
− | ==Compilation of Clucene== | + | ===Compilation of Clucene=== |
3 files need editing | 3 files need editing | ||
Line 49: | Line 49: | ||
compilation with following script | compilation with following script | ||
− | ==Compilation of Sword== | + | ===Compilation of Sword=== |
Application of 2 patches: | Application of 2 patches: |
Revision as of 20:57, 30 September 2011
- For compiling on Linux, see Tutorial:Compiling & Installing SWORD.
Contents
Compiling The SWORD Project using MS Visual Studio 2008
- 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
- Download the latest release of cURL
- Extract the ZIP to $dir$
- Rename the cURL directory to "curl" (with no version number)
- Open $dir$\curl\vc6curl.dsw
- Allow Visual Studio to update the project files
- Build all (Click Build | Batch Build... | Select All | Build)
Compiling icu-sword
- Download the latest release of icu-sword
- Extract the tarball to $dir$
- Open $dir$\icu-sword\source\allinone\allinone.sln
- Build all (Click Build | Batch Build... | Select All | Build)
Compiling libsword
- Download the latest release of The SWORD Project
- Extract the tarball to $dir$
- If you are building utilities or diatheke, the following steps are not necessary:
- Open $dir$\sword-$version$\lib\vcppmake\vc8\libsword.vcproj
- Build all (Click Build | Batch Build... | Select All | Build)
Compiling utilities
- Open $dir$\sword-$version$\utilities\vcppmake\utilities.sln
- Build all (Click Build | Batch Build... | Select All | Build)
Compiling diatheke
- Open $dir$\sword-$version$\utilities\diatheke\diatheke.vcproj
- Build all (Click Build | Batch Build... | Select All | Build)
Cross Compiling Sword for MS Windows on Suse Linux with MingW
Suse with MingW
Installation of all necessary dependencies of Sword, but for CLucene - libcurl, ICU, libgnurx etc -
Compilation of Clucene
3 files need editing
compilation with following script
Compilation of Sword
Application of 2 patches:
patch1 patch2