Difference between revisions of "Talk:Tutorial:Compiling & Installing SWORD"

From CrossWire Bible Society
Jump to: navigation, search
(Attempted the compile instructions and recieved the following: new section)
m (Test script is present twice (useless duplication?!))
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
The initial content was cut and paste from the Sandbox. [[User:David Haslam|David Haslam]] 16:52, 3 September 2009 (UTC)
 
The initial content was cut and paste from the Sandbox. [[User:David Haslam|David Haslam]] 16:52, 3 September 2009 (UTC)
  
== Please add a section on compiling SWORD within Windows ==
+
== Test script is present twice (useless duplication?!) ==
  
Please would someone add a section on compiling SWORD within Windows''Thanks''. [[User:David Haslam|David Haslam]] 18:45, 8 September 2009 (UTC)
+
It is present in "Test script" and "Testing a new SWORD installation" sections.
 +
Moreover the output given by diatheke is incorrect, I got:
 +
<pre>John 3:16: <q marker=""><milestone marker="¶" type="x-p"/><w  savlm="strong:G3588" src="17"/><w  savlm="strong:G3588" src="12"/><w savlm="strong:G1063" src="2">For</w> <w  savlm="strong:G3588 strong:G2316" src="4 5">God</w> <w  savlm="strong:G3779" src="1">so</w> <w  savlm="strong:G25" src="3">loved</w> <w  savlm="strong:G3588 strong:G2889" src="6 7">the world</w>, <w  savlm="strong:G5620" src="8">that</w> <w  savlm="strong:G1325" src="14">he gave</w> <w  savlm="strong:G846" src="11">his</w> <w  savlm="strong:G3439" src="13">only begotten</w> <w  savlm="strong:G3588 strong:G5207" src="9 10">Son</w>, <w  savlm="strong:G2443" src="15">that</w> <w  savlm="strong:G3956" src="16">whosoever</w> <w savlm="strong:G4100" src="18">believeth</w> <w  savlm="strong:G1519" src="19">in</w> <w  savlm="strong:G846" src="20">him</w> <w  savlm="strong:G622" src="22" type="x-split-1793">should</w> <w  savlm="strong:G3361" src="21">not</w> <w  savlm="strong:G622" src="22" type="x-split-1793">perish</w>, <w  savlm="strong:G235" src="23">but</w> <w  savlm="strong:G2192" src="24">have</w> <w  savlm="strong:G166" src="26">everlasting</w> <w  savlm="strong:G2222" src="25">life</w>.</q>
 +
</pre>
  
The following is what Dan had added, but it needs to be transferred to the [[Tutorial:Compiling & Installing SWORD on Windows|new page]]. [[User:David Haslam|David Haslam]] 09:08, 6 October 2009 (UTC)
+
--[[User:Yvand|Yvand]] 03:56, 6 May 2014 (MDT)
  
:''Done''. [[User:David Haslam|David Haslam]] 14:51, 15 October 2009 (UTC)
+
== Debian instructions ==
  
=== Compiling SWORD using MS Visual Studio 2008 ===
+
To compile sword on debian stable, I needed also libtool and automake package.
# Download SWORD [http://www.crosswire.org/ftpmirror/pub/sword/source/v1.6/sword-1.6.0.tar.gz sourcecode]
+
--[[User:Yvand|Yvand]] 04:17, 6 May 2014 (MDT)
# Unpack it somewhere with something like 7zip
 
# Open sword-1.6.0/utilities/vcppmake/utilities.sln
 
# Compile.
 
 
 
== Attempted the compile instructions and recieved the following ==
 
 
 
Error 24 fatal error LNK1104: cannot open file 'libsword.lib' vs2osisreftxt vs2osisreftxt
 
Error 25 fatal error LNK1104: cannot open file 'libsword.lib' treeidxutil treeidxutil
 
Error 26 fatal error LNK1104: cannot open file 'libsword.lib' vs2osisref vs2osisref
 
Error 59 fatal error LNK1104: cannot open file 'libsword.lib' xml2gbs xml2gbs
 
Error 61 fatal error LNK1104: cannot open file 'libsword.lib' stepdump stepdump
 
Error 71 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\code\theswordproject\sword-1.6.0\include\utf8nfc.h 26 tei2mod
 
Error 145 fatal error LNK1104: cannot open file 'libsword.lib' step2vpl step2vpl
 
Error 174 fatal error LNK1104: cannot open file 'libsword.lib' mod2zmod mod2zmod
 
Error 175 fatal error LNK1104: cannot open file 'libsword.lib' mod2vpl mod2vpl
 
Error 194 fatal error LNK1104: cannot open file 'libsword.lib' mod2osis mod2osis
 
Error 227 fatal error LNK1104: cannot open file 'libsword.lib' mod2imp mod2imp
 
Error 228 fatal error LNK1104: cannot open file 'libsword.lib' mkfastmod mkfastmod
 
Error 248 fatal error LNK1104: cannot open file 'libsword.lib' installmgr installmgr
 
Error 260 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\code\theswordproject\sword-1.6.0\utilities\imp2gbs.cpp 34 imp2gbs
 
Error 261 fatal error LNK1104: cannot open file 'libsword.lib' imp2vs imp2vs
 
Error 263 fatal error LNK1104: cannot open file 'libsword.lib' imp2ld imp2ld
 
Error 283 fatal error LNK1104: cannot open file 'libsword.lib' emptyvss emptyvss
 
Error 336 fatal error LNK1104: cannot open file 'libsword.lib' cipherraw cipherraw
 
Error 338 fatal error LNK1104: cannot open file 'libsword.lib' addld addld
 
Error 340 fatal error LNK1104: cannot open file 'libsword.lib' addvs addvs
 
Error 360 fatal error LNK1104: cannot open file 'libsword.lib' addgb addgb
 
Error 364 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\code\theswordproject\sword-1.6.0\include\utf8nfc.h 26 osis2mod
 
Error 365 fatal error C1083: Cannot open include file: 'unicode/ucnv.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\src\modules\filters\utf8transliterator.cpp 29 libsword
 
Error 366 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\include\utf8nfkd.h 26 libsword
 
Error 367 fatal error C1083: Cannot open include file: 'unicode/unistr.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\src\modules\filters\utf8nfc.cpp 28 libsword
 
Error 368 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\include\utf8nfkd.h 26 libsword
 
Error 369 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\include\utf8bidireorder.h 26 libsword
 
Error 370 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\include\utf8arshaping.h 26 libsword
 
Error 371 fatal error C1083: Cannot open include file: 'unicode/unistr.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\include\utf8transliterator.h 39 libsword
 
Error 372 fatal error C1083: Cannot open include file: 'unicode/utypes.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\src\mgr\stringmgr.cpp 29 libsword
 
Error 416 fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\src\mgr\curlhttpt.cpp 28 libsword
 
Error 417 fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory c:\Code\TheSwordProject\sword-1.6.0\src\mgr\curlftpt.cpp 28 libsword
 
 
 
 
 
An update would be appreciated.
 

Latest revision as of 12:50, 6 May 2014

Initial content of page

The initial content was cut and paste from the Sandbox. David Haslam 16:52, 3 September 2009 (UTC)

Test script is present twice (useless duplication?!)

It is present in "Test script" and "Testing a new SWORD installation" sections. Moreover the output given by diatheke is incorrect, I got:

John 3:16: <q marker=""><milestone marker="¶" type="x-p"/><w  savlm="strong:G3588" src="17"/><w  savlm="strong:G3588" src="12"/><w  savlm="strong:G1063" src="2">For</w> <w  savlm="strong:G3588 strong:G2316" src="4 5">God</w> <w  savlm="strong:G3779" src="1">so</w> <w  savlm="strong:G25" src="3">loved</w> <w  savlm="strong:G3588 strong:G2889" src="6 7">the world</w>, <w  savlm="strong:G5620" src="8">that</w> <w  savlm="strong:G1325" src="14">he gave</w> <w  savlm="strong:G846" src="11">his</w> <w  savlm="strong:G3439" src="13">only begotten</w> <w  savlm="strong:G3588 strong:G5207" src="9 10">Son</w>, <w  savlm="strong:G2443" src="15">that</w> <w  savlm="strong:G3956" src="16">whosoever</w> <w  savlm="strong:G4100" src="18">believeth</w> <w  savlm="strong:G1519" src="19">in</w> <w  savlm="strong:G846" src="20">him</w> <w  savlm="strong:G622" src="22" type="x-split-1793">should</w> <w  savlm="strong:G3361" src="21">not</w> <w  savlm="strong:G622" src="22" type="x-split-1793">perish</w>, <w  savlm="strong:G235" src="23">but</w> <w  savlm="strong:G2192" src="24">have</w> <w  savlm="strong:G166" src="26">everlasting</w> <w  savlm="strong:G2222" src="25">life</w>.</q>

--Yvand 03:56, 6 May 2014 (MDT)

Debian instructions

To compile sword on debian stable, I needed also libtool and automake package. --Yvand 04:17, 6 May 2014 (MDT)