[bt-devel] compiling trouble
Joachim Ansorg
bt-devel@crosswire.org
Tue, 2 May 2000 15:33:56 +0000
Hi Jeff!
Some time ago I mailed a warning about this.
You have to edit a SWORD include file and change a line.
Edit:
<SWORD directory>/include/sword/swmgr.h
Look for these lines:
class SWMgr {
private:
SWConfig* myconfig;
and change the private: line to protected:
It should look like this:
class SWMgr {
protected:
SWConfig* myconfig;
I can't change the SWORD sources at the moment because the CD will appear soon.
You do not have to recompile SWORD. Simply update your SWORD sources after the CD release and the changes should be there
so you don't have to change the file everytime.
Thanks!
--Joachim
>Here is another problem with compiling BT, here's the output:
>
>Making all in sword
>make[4]: Entering directory `/home/dev/bibletime-2/bibletime/backend/sword'
>g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/kde2/include -I/cvs/qt2/incl
>ude -I/usr/X11R6/include -I/usr/local/sword/include -O2 -c cswordbackendmana
>ger.cpp
>cswordbackendmanager.cpp: In method `void CSWORDBackEndManager::Load()':
>cswordbackendmanager.cpp:243: member `configType' is private
>cswordbackendmanager.cpp:245: member `configType' is private
>cswordbackendmanager.cpp:255: within this context
>cswordbackendmanager.cpp:261: member `configType' is private
>cswordbackendmanager.cpp:262: member `myconfig' is private
>cswordbackendmanager.cpp:263: member `myconfig' is private
>/usr/local/sword/include/swmgr.h:44: `void SWMgr::CreateMods()' is private
>cswordbackendmanager.cpp:268: within this context
>cswordbackendmanager.cpp:272: member `configType' is private
>cswordbackendmanager.cpp:287: member `myconfig' is private
>/usr/local/sword/include/swmgr.h:44: `void SWMgr::CreateMods()' is private
>cswordbackendmanager.cpp:290: within this context
>cswordbackendmanager.cpp:297: member `myconfig' is private
>cswordbackendmanager.cpp:298: member `myconfig' is private
>make[4]: *** [cswordbackendmanager.o] Error 1
>make[4]: Leaving directory `/home/dev/bibletime-2/bibletime/backend/sword'
>make[3]: *** [all-recursive] Error 1
>make[3]: Leaving directory `/home/dev/bibletime-2/bibletime/backend'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/home/dev/bibletime-2/bibletime'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/dev/bibletime-2'
>make: *** [all-recursive-am] Error 2
>dev@elderfelder:~/bibletime-2 >
>
>Any ideas what this is? This is with a fresh CVS checkout of BT 0.3 and
>Sword 1.5x
>
>Thanks for any help.
>Jeff
>
> --
>| http://jhoyt.faithweb.com |
> Don't be conservative.
> Don't be liberal.
> Be RIGHT.
--
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de