<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 24, 2014 at 11:23 AM, Karl Kleinpaste <span dir="ltr"><<a href="mailto:karl@kleinpaste.org" target="_blank">karl@kleinpaste.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="">
<div>On 08/24/2014 11:49 AM, Troy A.
Griffitts wrote:<br>
</div>
<blockquote type="cite">
<pre>The sword/examples/classes folder assumes you have some
version of sword installed.</pre>
</blockquote>
</div><font face="FreeSerif">Come on, give me a break, </font><font face="FreeSerif"><font face="FreeSerif">of course I have Sword
installed</font>. If compilation doesn't provide this right,
then examples/classes/Makefile is at fault.<br></font></div></blockquote><div><br></div><div>The programs in examples/ are designed to be built (through the Makefile) against the compiled but uninstalled version of the library. So they're looking for Sword headers without any prefix directory in the include directives. Once the files are installed they go to $INSTALL_PREFIX/include/sword/ so building against the installed version of the files would required the includes be prefixed with sword/ or the appropriate -I$INSTALL_PREFIX/include/sword/ be added to the compiler invocation when building manually.</div>
<div><br></div><div>--Greg</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><font face="FreeSerif">
<br>
Regardless, fixing the little test prog, output is 8.<br>
</font>
</div>
<br>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div></div>