[bt-devel] Problem compiling CVS of Bibletime

Joachim Ansorg bt-devel@crosswire.org
Thu, 18 Dec 2003 19:27:47 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
thank you for the report.

Row 29 of bibletime/ackend/bt_osishtml.h should look like:
	#define OSISHTMLHREF OSISHTMLHref

This will compile with 1.5.6, with 
	// #define OSISHTMLHREF OSISHTMLHref
it works wih Sword's CVS.

We'll depend on 1.5.7 with release 1.4, so had to test Sword's CVS.

Joachim


> Hello, Everyone :)
> I sent this about a week ago, and since then I've
> gotten a new Abit motherboard and an Antec powersupply.  So, the
> computer issues Ireferred to the last time I sent this are fixed :)  But
> I still get the following error when attempting to compile Bibletime
> from a recently updated copy of the CVS:
>
> In file included from /usr/include/sword/utilweb.h:26,
>                  from /usr/include/sword/utilfuns.h:27,
>                  from /usr/include/sword/swobject.h:4,
>                  from /usr/include/sword/swdisp.h:26,
>                  from /usr/include/sword/swmodule.h:27,
>                  from /usr/include/sword/swmgr.h:45,
>                  from cswordbackend.h:31,
>                  from cswordbackend.cpp:19:
> /usr/include/sword/swbuf.h: In member function `void
>    sword::SWBuf::assureMore(long unsigned int)':
> /usr/include/sword/swbuf.h:47: warning: comparison between signed and
> unsigned integer expressions
> In file included from cswordbackend.cpp:28:
> bt_osishtml.h:28:2: warning: #warning is a GCC extension
> bt_osishtml.h:28:2: warning: #warning Hack to compile with Sword 1.5.6
> In file included from cswordbackend.cpp:28:
> bt_osishtml.h: At global scope:
> bt_osishtml.h:36: error: `OSISHTMLHREF' is not a class or namespace
> bt_osishtml.h:36: error: invalid base-class specification
> bt_osishtml.h:38: error: `OSISHTMLHREF' is not a class or namespace
> bt_osishtml.h:38: error: `MyUserData' is not a class or namespace
> bt_osishtml.h:38: error: invalid base-class specification
> bt_osishtml.h: In constructor `BT_OSISHTML::BT_UserData::BT_UserData(const
>    sword::SWModule*, const sword::SWKey*)':
> bt_osishtml.h:40: error: `OSISHTMLHREF' is not a class or namespace
> bt_osishtml.h:40: error: `MyUserData' is not a class or namespace
> bt_osishtml.h:40: error: class `BT_OSISHTML::BT_UserData' does not have any
>    field named `sword'
> bt_osishtml.h: In member function `virtual sword::BasicFilterUserData*
>    BT_OSISHTML::createUserData(const sword::SWModule*, const
> sword::SWKey*)': bt_osishtml.h:53: error: cannot convert
> `BT_OSISHTML::BT_UserData*' to ` sword::BasicFilterUserData*' in return
> cswordbackend.cpp: In member function `virtual void
>    CSwordBackend::AddRenderFilters(sword::SWModule*,
> sword::ConfigEntMap&)': cswordbackend.cpp:177: error: cannot convert
> `BT_OSISHTML*' to `
>    sword::SWFilter*' in assignment
> make[3]: *** [cswordbackend.o] Error 1
> make[3]: Leaving directory `/home/steve/CVS/bibletime/bibletime/backend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/steve/CVS/bibletime/bibletime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/steve/CVS/bibletime'
> make: *** [all] Error 2
>
> I will try getting a fresh copy, but that usually doesn't help.
>
> Any help will be greatly appreciated :)
> Steven P. Ulrick
> _______________________________________________
> bt-devel mailing list
> bt-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel

- -- 
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/4fGnEyRIb2AZBB0RAtOeAKDCSaYZ2HHv39T8TpxSFF7Ib7SQXwCcCyZO
TaUY1ViN/eJqBfNI5Pd0RZQ=
=lYpB
-----END PGP SIGNATURE-----