<div dir="ltr">I think this compile error was fixed in Sword revision 2182 (or maybe a later one). You'll need to run svn update to get this fix.<br>I'm not sure how it is set up for swordreader, but it would probably be best if you could build from the sword 1.5.11 release, as the sword svn code is not guaranteed not to be completely broken (especially as large-scale experimental changes are happening).<br>
<br clear="all">God Bless,<br>Ben<br>-------------------------------------------------------------------------------------------<br>The Lord is not slow to fulfill his promise as some count slowness,<br>but is patient toward you, not wishing that any should perish,<br>
but that all should reach repentance.<br>2 Peter 3:9 (ESV)
<br><br><div class="gmail_quote">On Wed, Jul 16, 2008 at 7:30 AM, SonWon <<a href="mailto:sonwon.1@gmail.com">sonwon.1@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am using revision 2181 for Sword and swordreader is at 150.<br>
<br>
I still get this error on a compile with EVC3 or EVC4:<br>
<div class="Ih2E3d"><br>
C:\CrossWire\sword\src\keys\versetreekey.cpp(148) : error C2352:<br>
'sword::TreeKey::PositionChangeListener::getTreeKey' : illegal call of<br>
non-static member function<br>
..\..\..\sword\include\treekey.h(58) : see declaration of<br>
'getTreeKey'<br>
<br>
Error C2352 is:<br>
A static member function calls a nonstatic member function.<br>
<br>
The line is:<br>
TreeKey *tkey = TreeKey::PositionChangeListener::getTreeKey();<br>
<br>
The declaration is:<br>
TreeKey *getTreeKey() { return treeKey; }<br>
<br>
</div>I am not touching the Sword code. :)<br>
<br>
Maybe it is just a compiler switch? I just loaded the EVC3 and 4 and<br>
opened the project to compile, no changes to the compiler settings which<br>
I would think are stored in the project.<br>
<br>
I get other errors but they can be ignored like David said, I call them<br>
noise.<br>
<div><div></div><div class="Wj3C7c"><br>
Barry Drake wrote:<br>
> H there .......<br>
><br>
> SonWon wrote:<br>
><br>
>> Ok, maybe I misunderstood then, it doesn't look like the code I have<br>
>> written in the past.<br>
>><br>
><br>
> I've just fired up eVC3 and looked at the new (latest) svn and if you<br>
> open the existing ....\....\whatever ...... \swordreader\src\SwRd.vcw<br>
> under eVC3, you will not get most of the errors and failures you<br>
> mentioned. You may have to amend a few paths to header files etc. but<br>
> .... this should save you a LOT OF TIME.<br>
><br>
> God bless,<br>
> Barry<br>
><br>
> -- From Barry Drake (The Revd) minister of the Netherfield United<br>
> Reformed church, Nottingham see <a href="http://www.jesusinnetherfield.org.uk" target="_blank">http://www.jesusinnetherfield.org.uk</a> for<br>
> our church homepages).<br>
><br>
> Replies - <a href="mailto:b.drake@ntlworld.com">b.drake@ntlworld.com</a><br>
><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>
><br>
><br>
<br>
</div></div><div class="Ih2E3d">--<br>
SonWon<br>
<br>
I choose God and all that my choice entails in this life even unto death and look forward to the new life that will come.<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">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>
</div></div></blockquote></div><br></div>