<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Ok, thanks. I've been using the 1.8.1 tag. That explains it then.<br>
I'm glad it's already fixed on trunk.<br>
</p>
<p>Best regards,<br>
Tobias<br>
</p>
<div class="moz-cite-prefix">On 15.06.19 22:29, Greg Hellings wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHxvOVK7UKgKb2An-qspzBrg4zhB2h2JBVGJLtFtNG3ZuCr-yQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">There are patches already in SVN head for building
with CMake that set the appropriate compiler flag for this. It's
necessary for anything after ICU 61</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jun 15, 2019, 13:33
Tobias Klein <<a href="mailto:contact@tklein.info"
moz-do-not-send="true">contact@tklein.info</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
While building Ezra Project packages for Ubuntu 19.04
including a <br>
statically linked version of Sword I ran into compile time
problems. The <br>
problems were related to the ICU library.<br>
<br>
I'm using libicu-dev (ICU 63): <a
href="https://packages.ubuntu.com/disco/libicu-dev"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://packages.ubuntu.com/disco/libicu-dev</a><br>
<br>
The errors are all the same and caused by UnicodeString type
that cannot <br>
be identified as a type.<br>
<br>
Example:<br>
<br>
In file included from <br>
/tmp/node-sword-interface-git/sword/src/mgr/swmgr.cpp:108:<br>
/tmp/node-sword-interface-git/sword/include/utf8transliterator.h:53:2: <br>
error: 'UnicodeString' does not name a type<br>
UnicodeString resource;<br>
<br>
The issue can be fixed by prepending a "icu::" namespace
identifier in <br>
front of the UnicodeString (like icu::UnicodeString) or by
just adding <br>
statement in the beginning "using namespace icu;".<br>
I've been patching my Sword checkout using the "using
namespace icu;" <br>
fix in the corresponding files, see attached patch.<br>
<br>
This does not cause problems with an earlier ICU version (like
60.2 on <br>
Ubuntu 18.04 LTS), so it may just be included in the Sword
sources?<br>
<br>
Best regards,<br>
Tobias<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a
href="mailto:sword-devel@crosswire.org" target="_blank"
rel="noreferrer" moz-do-not-send="true">sword-devel@crosswire.org</a><br>
<a
href="http://www.crosswire.org/mailman/listinfo/sword-devel"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote>
</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://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</body>
</html>