[sword-devel] Couple of problems with windows build tutorial.

Paul A. Martel pmartel60 at gmail.com
Tue Sep 20 13:38:55 MST 2011


I am trying to follow the MSVS build Tutorial @
http://www.crosswire.org/wiki/Tutorial:Compiling_%26_Installing_SWORD_on_Windows

In the hopes of getting a couple of the built-in tests to fail on unicode
file names on windows.

Problem #1

When I get to the part about compiling icu-sword...

>  3. Open $dir$\icu-sword\source\allinone\allinone.sln
>  4. Build all (Click Build | Batch Build... | Select All | Build)

That last step does not seem to be working.
I click the Build button with all the entries selected and nothing happens.
Nothing appears in the Output window.

Every other entry that gets selected with "Select All"
is a build target for a 64-bit machine -- which I don't have.
On a hunch, I tried being more selective of the targets and discovered
that if I stuck to selecting the 32-bit targets, things seemed to build
without error.

If any 64-bit target was selected, I ran the chance of getting this silent
treatment.
But there seemed to be some subtlety here in that it isn't an automatic
recipe for failure.
selecting 64-bit targets seemed to have no effect if all of the 32-bit
targets have been built.
Clicking Build under these conditions has an unexpected effect of trivially
re-spinning a few targets
that can't seem to remember that they were successfully built (or so they
claimed).

Am I somehow breaking new ground, here?
Or is there some missing step in the tutorial (hopefully easier than
selecting every other entry in a list of several dozen)?
Maybe there is one or a small number of "highly dependent" targets that
could get selected instead that would force the rebuild of all for their
platform?
I thought I saw something like that happening as I played around with this,
but I don't know how complete the effect was.

Or do there need to be distinct "solution" (build configuration) files for
different build platforms or target platforms?
Like allinone32.sln and allinone64.sln?

Problem #2

If I soldier on to build libsword, it seems to indicate a problem with curl:


Build Log

Build started: Project: libsword, Configuration: Release|Win32

Command Lines

Creating temporary file
"c:\Users\p\stepwise-1.6.2\sword-1.6.2\lib\vcppmake\vc8\Release\RSP00001139203908.rsp"
with contents
[
/O2 /Ob1 /I "../../../include" /I "../../../include/internal/regex" /I
"../../../src/utilfuns/win32" /I "../../../../curl/include" /D "NDEBUG" /D
"WIN32" /D "_LIB" /D "REGEX_MALLOC" /D "SWMAKINGDLL" /D "CURLAVAILABLE" /D
"CURL_STATICLIB" /D "USBINARY" /D "_CRT_SECURE_NO_WARNINGS" /D
"_VC80_UPGRADE=0x0710" /D "_WINDLL" /D "_MBCS" /GF /FD /EHsc /MD /Gy
/Fp".\Release/libsword.pch" /Fo".\Release/" /Fd".\Release/" /c /wd4996
"..\..\..\src\mgr\curlhttpt.cpp"

"..\..\..\src\mgr\curlftpt.cpp"
]
Creating command line "cl.exe
@"c:\Users\p\stepwise-1.6.2\sword-1.6.2\lib\vcppmake\vc8\Release\RSP00001139203908.rsp"
/nologo /errorReport:prompt"
Creating temporary file
"c:\Users\p\stepwise-1.6.2\sword-1.6.2\lib\vcppmake\vc8\Release\RSP00001239203908.rsp"
with contents
[
/O2 /Ob1 /I "../../../include" /I "../../../include/internal/regex" /I
"../../../src/utilfuns/win32" /I "../../../../curl/include" /D "NDEBUG" /D
"WIN32" /D "_LIB" /D "REGEX_MALLOC" /D "SWMAKINGDLL" /D "CURLAVAILABLE" /D
"CURL_STATICLIB" /D "USBINARY" /D "_CRT_SECURE_NO_WARNINGS" /D
"_VC80_UPGRADE=0x0710" /D "_WINDLL" /D "_MBCS" /GF /FD /EHsc /MD /Gy
/Fp".\Release/libsword.pch" /Fo".\Release/" /Fd".\Release/" /c /wd4996
"..\..\..\src\modules\common\zverse.cpp"

"..\..\..\src\utilfuns\zlib\zutil.c"

"..\..\..\src\modules\texts\ztext\ztext.cpp"

"..\..\..\src\modules\common\zstr.cpp"

"..\..\..\src\modules\lexdict\zld\zld.cpp"

"..\..\..\src\modules\common\zipcomprs.cpp"

"..\..\..\src\modules\comments\zcom\zcom.cpp"
]
Creating command line "cl.exe
@"c:\Users\p\stepwise-1.6.2\sword-1.6.2\lib\vcppmake\vc8\Release\RSP00001239203908.rsp"
/nologo /errorReport:prompt"

Output Window

Compiling...
curlhttpt.cpp
..\..\..\src\mgr\curlhttpt.cpp(28) : fatal error C1083: Cannot open include
file: 'curl/types.h': No such file or directory
curlftpt.cpp
..\..\..\src\mgr\curlftpt.cpp(29) : fatal error C1083: Cannot open include
file: 'curl/types.h': No such file or directory
Generating Code...

Results

Build log was saved at
"file://c:\Users\p\stepwise-1.6.2\sword-1.6.2\lib\vcppmake\vc8\Release\BuildLog.htm"
libsword - 2 error(s), 0 warning(s)


Here's the content of my curl\include\curl directory:

curl.h
curlbuild.h
curlbuild.h.cmake
curlbuild.h.in
curlrules.h
curlver.h
easy.h
Makefile.am
Makefile.in
mprintf.h
multi.h
stdcheaders.h
typecheck-gcc.h


See, no types.h.

Any thoughts on these issues?

--paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20110920/9119877e/attachment.html>


More information about the sword-devel mailing list