[sword-devel] EVC3 Compile Errors

SonWon sonwon.1 at gmail.com
Tue Jul 15 18:45:40 MST 2008


I went back to sword revision 2176, swordreader revision 150 and now it 
compiles with EVC3.

Ben Morgan wrote:
> Sword 1.5.11 is at 
> ftp://ftp.crosswire.org/pub/sword/source/v1.5/sword-1.5.11.tar.gz
> I'm not sure why the errors are occurring, but it doesn't sound good.
>
> God Bless,
> Ben
> -------------------------------------------------------------------------------------------
> The Lord is not slow to fulfill his promise as some count slowness,
> but is patient toward you, not wishing that any should perish,
> but that all should reach repentance.
> 2 Peter 3:9 (ESV)
>
> On Wed, Jul 16, 2008 at 10:59 AM, SonWon <sonwon.1 at gmail.com 
> <mailto:sonwon.1 at gmail.com>> wrote:
>
>     Well I thought I was at revision 2182 but was not and now I get 3
>     errors:
>
>     C:\CrossWire\sword\src\keys\versetreekey.cpp(148) : error C2039:
>     'TreeKey' : is not a member of 'VerseTreeKey'
>            ..\..\..\sword\include\versetreekey.h(39) : see declaration of
>     'VerseTreeKey'
>     C:\CrossWire\sword\src\keys\versetreekey.cpp(148) : error C2039:
>     'TreeKey' : is not a member of 'VerseTreeKey'
>            ..\..\..\sword\include\versetreekey.h(39) : see declaration of
>     'VerseTreeKey'
>     C:\CrossWire\sword\src\keys\versetreekey.cpp(148) : error C2653:
>     'TreeKey' : is not a class or namespace name
>
>     No idea where to find sword 1.5.11?
>
>     Still a newbie.
>
>
>     Ben Morgan wrote:
>     > 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.
>     > 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).
>     >
>     > God Bless,
>     > Ben
>     >
>     -------------------------------------------------------------------------------------------
>     > The Lord is not slow to fulfill his promise as some count slowness,
>     > but is patient toward you, not wishing that any should perish,
>     > but that all should reach repentance.
>     > 2 Peter 3:9 (ESV)
>     >
>     > On Wed, Jul 16, 2008 at 7:30 AM, SonWon <sonwon.1 at gmail.com
>     <mailto:sonwon.1 at gmail.com>
>     > <mailto:sonwon.1 at gmail.com <mailto:sonwon.1 at gmail.com>>> wrote:
>     >
>     >     I am using revision 2181 for Sword and swordreader is at 150.
>     >
>     >     I still get this error on a compile with EVC3 or EVC4:
>     >
>     >     C:\CrossWire\sword\src\keys\versetreekey.cpp(148) : error C2352:
>     >     'sword::TreeKey::PositionChangeListener::getTreeKey' :
>     illegal call of
>     >     non-static member function
>     >           ..\..\..\sword\include\treekey.h(58) : see declaration of
>     >     'getTreeKey'
>     >
>     >     Error C2352 is:
>     >     A static member function calls a nonstatic member function.
>     >
>     >     The line is:
>     >     TreeKey *tkey = TreeKey::PositionChangeListener::getTreeKey();
>     >
>     >     The declaration is:
>     >     TreeKey *getTreeKey() { return treeKey; }
>     >
>     >     I am not touching the Sword code.  :)
>     >
>     >     Maybe it is just a compiler switch?  I just loaded the EVC3
>     and 4 and
>     >     opened the project to compile, no changes to the compiler
>     settings
>     >     which
>     >     I would think are stored in the project.
>     >
>     >     I get other errors but they can be ignored like David said,
>     I call
>     >     them
>     >     noise.
>     >
>     >     Barry Drake wrote:
>     >     > H there .......
>     >     >
>     >     > SonWon wrote:
>     >     >
>     >     >> Ok, maybe I misunderstood then, it doesn't look like the
>     code I
>     >     have
>     >     >> written in the past.
>     >     >>
>     >     >
>     >     > I've just fired up eVC3 and looked at the new (latest) svn and
>     >     if you
>     >     > open the existing ....\....\whatever ......
>     >     \swordreader\src\SwRd.vcw
>     >     > under eVC3, you will not get most of the errors and
>     failures you
>     >     > mentioned.  You may have to amend a few paths to header files
>     >     etc. but
>     >     > ....  this should save you a LOT OF TIME.
>     >     >
>     >     > God bless,
>     >     > Barry
>     >     >
>     >     > -- From Barry Drake (The Revd) minister of the Netherfield
>     United
>     >     > Reformed church, Nottingham see
>     >     http://www.jesusinnetherfield.org.uk for
>     >     > our church homepages).
>     >     >
>     >     > Replies - b.drake at ntlworld.com
>     <mailto:b.drake at ntlworld.com> <mailto:b.drake at ntlworld.com
>     <mailto:b.drake at ntlworld.com>>
>     >     >
>     >     > _______________________________________________
>     >     > sword-devel mailing list: sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>
>     >     <mailto:sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>>
>     >     > http://www.crosswire.org/mailman/listinfo/sword-devel
>     >     > Instructions to unsubscribe/change your settings at above page
>     >     >
>     >     >
>     >
>     >     --
>     >     SonWon
>     >
>     >     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.
>     >
>     >
>     >     _______________________________________________
>     >     sword-devel mailing list: sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>
>     >     <mailto:sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>>
>     >     http://www.crosswire.org/mailman/listinfo/sword-devel
>     >     Instructions to unsubscribe/change your settings at above page
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > sword-devel mailing list: sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>
>     > http://www.crosswire.org/mailman/listinfo/sword-devel
>     > Instructions to unsubscribe/change your settings at above page
>
>     --
>     SonWon
>
>     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.
>
>
>     _______________________________________________
>     sword-devel mailing list: sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>
>     http://www.crosswire.org/mailman/listinfo/sword-devel
>     Instructions to unsubscribe/change your settings at above page
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-- 
SonWon

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.




More information about the sword-devel mailing list