<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 10/11/2020 2:35 PM, Greg Hellings
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHxvOVLm5Zk2S0_oM=D1s6Gbd_QdgVShOnv2YAT2VWT2TO1CvA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Gary,</div>
<div><br>
</div>
<div>I have prepared the changes for #1 and 4 below.</div>
<div><br>
</div>
<div>For #3 try defining CLUCENE_HOME with
-DCLUCENE_HOME=../../some/path/ to where you built and
installed CLucene. That *should* allow FindCLucene.cmake to
locate the files appropriately.</div>
<div><br>
</div>
</div>
</blockquote>
#2, not #3<br>
<p>I got the FindClucene.cmake part working. Now I am faced with
numerous warning and a number of errors. See the attached file. At
this point I would be happy with a cmake switch that would bypass
the "FIND_PACKAGE(CLucene QUIET)"</p>
<p>Gary</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAHxvOVLm5Zk2S0_oM=D1s6Gbd_QdgVShOnv2YAT2VWT2TO1CvA@mail.gmail.com">
<div dir="ltr">
<div>Now, if I could just ever remember my SVN password to make
a commit to the source tree! Shame we can't have SSH transport
for commits!</div>
<div><br>
</div>
<div>--Greg<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Oct 11, 2020 at 3:01
PM Greg Hellings <<a
href="mailto:greg.hellings@gmail.com"
moz-do-not-send="true">greg.hellings@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Oct 11,
2020, 11:21 Gary Holmlund <<a
href="mailto:gary.holmlund@gmail.com"
target="_blank" moz-do-not-send="true">gary.holmlund@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Troy and Greg,<br>
<br>
I have compiled BibleTime with Sword 1.8.903 on
Windows. To do this I <br>
had to make 4 changes to cmake files. The first and
last one are easy <br>
changes. The second and third will need more effort
to decide how to <br>
properly fix them.<br>
<br>
Thanks for your great efforts.<br>
<br>
Gary Holmlund<br>
<br>
<br>
1. Find ICU Quiet.<br>
<br>
52c52<br>
< FIND_PACKAGE(ICU<br>
---<br>
> FIND_PACKAGE(ICU QUIET<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">This is curious. I wonder why.</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
<br>
<br>
2.I had to comment out the find of clucene.<br>
<br>
55c55<br>
< FIND_PACKAGE(CLucene QUIET)<br>
---<br>
> #FIND_PACKAGE(CLucene QUIET)<br>
<br>
If it is not commented out, I get this error.<br>
<br>
CMake Error at cmake/FindCLucene.cmake:82
(FILE):<br>
FILE failed to open for reading (No such file
or directory):<br>
C:/bibletime-tmp/b5/sword-prefix/src/sword-build/./CLucene/clucene-config.h<br>
<br>
NOTE: I find CLucene/clucene-config.h in the
include directory.<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">There should be a series of search paths
it looks through. I'm not at my computer right now to
check, but if you define the search paths this should be
unnecessary. Tobias, I think, has a build script that
demonstrates defining the search path for CLucene.</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
<br>
<br>
3. buildtest.exe build error - I comment out the
building of <br>
buildtest.exe in CMakeLists.txt<br>
<br>
272,277c272,277<br>
< ADD_EXECUTABLE(buildtest buildtest.cpp)<br>
< IF(BUILDING_STATIC)<br>
< TARGET_LINK_LIBRARIES(buildtest
sword_static)<br>
< ELSE(BUILDING_STATIC)<br>
< TARGET_LINK_LIBRARIES(buildtest sword)<br>
< ENDIF(BUILDING_STATIC)<br>
---<br>
> #ADD_EXECUTABLE(buildtest buildtest.cpp)<br>
> #IF(BUILDING_STATIC)<br>
> # TARGET_LINK_LIBRARIES(buildtest
sword_static)<br>
> #ELSE(BUILDING_STATIC)<br>
> # TARGET_LINK_LIBRARIES(buildtest sword)<br>
> #ENDIF(BUILDING_STATIC)<br>
<br>
Here are the errors I got without this change.<br>
<br>
buildtest.cpp<br>
5>C:\bibletime-tmp\sword\include\swkey.h(92,32):
warning C4251: <br>
'<a class="moz-txt-link-freetext" href="sword::SWKey::localeCache">sword::SWKey::localeCache</a>': class
'<a class="moz-txt-link-freetext" href="sword::SWKey::LocaleCache">sword::SWKey::LocaleCache</a>' needs to <br>
have dll-interface to be used by clients of class
'<a class="moz-txt-link-freetext" href="sword::SWKey">sword::SWKey</a>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swkey.h(79):
message : see declaration <br>
of '<a class="moz-txt-link-freetext" href="sword::SWKey::LocaleCache">sword::SWKey::LocaleCache</a>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swconfig.h(125,34): warning C4251: <br>
'<a class="moz-txt-link-freetext" href="sword::SWConfig::Sections">sword::SWConfig::Sections</a>': class <br>
'std::map<<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::ConfigEntMap,std::less">sword::SWBuf,sword::ConfigEntMap,std::less</a><a class="moz-txt-link-rfc2396E" href="sword::SWBuf"><sword::SWBuf></a>,std::allocator<std::pair<const
<br>
<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::ConfigEntMap">sword::SWBuf,sword::ConfigEntMap</a>>>>' needs
to have dll-interface to be <br>
used by clients of class '<a class="moz-txt-link-freetext" href="sword::SWConfig">sword::SWConfig</a>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swconfig.h(36):
message : see <br>
declaration of <br>
'std::map<<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::ConfigEntMap,std::less">sword::SWBuf,sword::ConfigEntMap,std::less</a><a class="moz-txt-link-rfc2396E" href="sword::SWBuf"><sword::SWBuf></a>,std::allocator<std::pair<const
<br>
<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::ConfigEntMap">sword::SWBuf,sword::ConfigEntMap</a>>>>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swmodule.h(118,24): warning C4251: <br>
'<a class="moz-txt-link-freetext" href="sword::SWModule::ownConfig">sword::SWModule::ownConfig</a>': class <br>
'<a class="moz-txt-link-freetext" href="sword::multimapwithdefault">sword::multimapwithdefault</a><<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::SWBuf,std::less">sword::SWBuf,sword::SWBuf,std::less</a><a class="moz-txt-link-rfc2396E" href="sword::SWBuf"><sword::SWBuf></a>>'
<br>
needs to have dll-interface to be used by clients of
class <br>
'<a class="moz-txt-link-freetext" href="sword::SWModule">sword::SWModule</a>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swconfig.h(35):
message : see <br>
declaration of <br>
'<a class="moz-txt-link-freetext" href="sword::multimapwithdefault">sword::multimapwithdefault</a><<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::SWBuf,std::less">sword::SWBuf,sword::SWBuf,std::less</a><a class="moz-txt-link-rfc2396E" href="sword::SWBuf"><sword::SWBuf></a>>'
<br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swmodule.h(120,43): warning C4251: <br>
'<a class="moz-txt-link-freetext" href="sword::SWModule::entryAttributes">sword::SWModule::entryAttributes</a>': class <br>
'std::map<<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::AttributeList,std::less">sword::SWBuf,sword::AttributeList,std::less</a><a class="moz-txt-link-rfc2396E" href="sword::SWBuf"><sword::SWBuf></a>,std::allocator<std::pair<const
<br>
<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::AttributeList">sword::SWBuf,sword::AttributeList</a>>>>' needs
to have dll-interface to be <br>
used by clients of class '<a class="moz-txt-link-freetext" href="sword::SWModule">sword::SWModule</a>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swmodule.h(78):
message : see <br>
declaration of <br>
'std::map<<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::AttributeList,std::less">sword::SWBuf,sword::AttributeList,std::less</a><a class="moz-txt-link-rfc2396E" href="sword::SWBuf"><sword::SWBuf></a>,std::allocator<std::pair<const
<br>
<a class="moz-txt-link-freetext" href="sword::SWBuf,sword::AttributeList">sword::SWBuf,sword::AttributeList</a>>>>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swmodule.h(142,30): warning C4251: <br>
'<a class="moz-txt-link-freetext" href="sword::SWModule::rawdisp">sword::SWModule::rawdisp</a>': class
'<a class="moz-txt-link-freetext" href="sword::SWModule::StdOutDisplay">sword::SWModule::StdOutDisplay</a>' needs <br>
to have dll-interface to be used by clients of class
'<a class="moz-txt-link-freetext" href="sword::SWModule">sword::SWModule</a>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\sword\include\swmodule.h(107):
message : see <br>
declaration of '<a class="moz-txt-link-freetext" href="sword::SWModule::StdOutDisplay">sword::SWModule::StdOutDisplay</a>' <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5> Creating library <br>
C:/bibletime-tmp/b6/sword-prefix/src/sword-build/Release/buildtest.lib <br>
and object <br>
C:/bibletime-tmp/b6/sword-prefix/src/sword-build/Release/buildtest.exp<br>
5>buildtest.obj : error LNK2019: unresolved
external symbol "public: <br>
static char * <a class="moz-txt-link-freetext" href="sword::SWBuf::nullStr">sword::SWBuf::nullStr</a>"
(?nullStr@SWBuf@sword@@2PADA) <br>
referenced in function "public: __thiscall
std::pair<class <a class="moz-txt-link-freetext" href="sword::SWBuf">sword::SWBuf</a> <br>
const ,class <a class="moz-txt-link-freetext" href="sword::multimapwithdefault">sword::multimapwithdefault</a><class
<a class="moz-txt-link-freetext" href="sword::SWBuf,class">sword::SWBuf,class</a> <br>
<a class="moz-txt-link-freetext" href="sword::SWBuf,struct">sword::SWBuf,struct</a> std::less<class
<a class="moz-txt-link-freetext" href="sword::SWBuf">sword::SWBuf</a>> > >::pair<class <br>
<a class="moz-txt-link-freetext" href="sword::SWBuf">sword::SWBuf</a> const ,class
<a class="moz-txt-link-freetext" href="sword::multimapwithdefault">sword::multimapwithdefault</a><class <br>
<a class="moz-txt-link-freetext" href="sword::SWBuf,class">sword::SWBuf,class</a> <a class="moz-txt-link-freetext" href="sword::SWBuf,struct">sword::SWBuf,struct</a>
std::less<class <a class="moz-txt-link-freetext" href="sword::SWBuf">sword::SWBuf</a>> > <br>
><class <a class="moz-txt-link-freetext" href="sword::SWBuf">sword::SWBuf</a> &&>(struct
std::piecewise_construct_t,class <br>
std::tuple<class <a class="moz-txt-link-freetext" href="sword::SWBuf">sword::SWBuf</a>
&&>,class std::tuple<>)" <br>
(??$?0$$QAVSWBuf@sword@@$$Z$$V@?$pair@$$CBVSWBuf@sword@@V?$multimapwithdefault@VSWBuf@sword@@V12@U?$less@VSWBuf@sword@@@std@@@2@@std@@QAE@Upiecewise_construct_t@1@V?$tuple@$$QAVSWBuf@sword@@@1@V?$tuple@$$V@1@@Z)
<br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>C:\bibletime-tmp\b6\sword-prefix\src\sword-build\Release\buildtest.exe
<br>
: fatal error LNK1120: 1 unresolved externals <br>
[C:\bibletime-tmp\b6\sword-prefix\src\sword-build\buildtest.vcxproj]<br>
5>Done building project "sword.vcxproj" --
FAILED.<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">This might be a question for Troy. I
wonder if these are based on the deprecations he has
done this cycle?</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><br>
<br>
<br>
<br>
4. I also ran into the problem in
cmake/options.cmake that ZdPo Ster found.<br>
<br>
29c29<br>
< SET(SWORD_INSTALL_DIR "C:\\Program Files
(x86)\\libsword\\")<br>
---<br>
> SET(SWORD_INSTALL_DIR "C:/Program Files
(x86)/libsword")<br>
<br>
NOTE: I override this value externally anyway.<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks for the confirmation.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I'll get in fixes for 1 and 4 this evening
when I'm back from the last pool day of the season. I'll
look more closely at 3 as well. Let me know if you can
resolve 2 with search path arguments or if I need to
expose one of those from the find file. </div>
<div dir="auto"><br>
</div>
<div dir="auto">--Greg</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a
href="mailto:sword-devel@crosswire.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">sword-devel@crosswire.org</a><br>
<a
href="http://crosswire.org/mailman/listinfo/sword-devel"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at
above page</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://crosswire.org/mailman/listinfo/sword-devel">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</body>
</html>