[bt-devel] problem building BT and sword

Mark Lybarger bt-devel@crosswire.org
Mon, 05 Nov 2001 21:21:59 -0500


I'm not sure what changed if anything, but I again re-got sword cvs, and 
now it builds and installs ok.  I am still getting the below error when 
trying to build bibletime...

Mark Lybarger wrote:

> Here are the errors I'm getting when I'm trying to build Bibletime.  I'm 
> using the sword install from this morning's cvs.  Any 
> thoughts/suggestions on this?
> 
> --------------------------------------------------------------------------------- 
> 
> 
> make[3]: Entering directory 
> `/home/mark/bibletime/bibletime/bibletime/backend'
> c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde 
> -I/usr/lib/qt-2.3.1/include -I/usr/X11R6/include 
> -I/usr/local/sword/include/sword  -D_REENTRANT -DQT_NO_ASCII_CAST 
> -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE  -ansi -D_XOPEN_SOURCE=500 
> -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wundef -Wconversion 
> -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W 
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -fno-exceptions 
> -fno-check-new -c cswordmodulesearch.cpp
> In file included from /usr/local/sword/include/sword/swmgr.h:43,
>                  from cswordbackend.h:30,
>                  from cswordmoduleinfo.h:22,
>                  from cswordmodulesearch.cpp:20:
> /usr/local/sword/include/sword/swmodule.h: In method `const bool 
> SWModule::isUnicode () const':
> /usr/local/sword/include/sword/swmodule.h:135: ambiguous overload for 
> `const char & == ENCODINGS'
> /usr/local/sword/include/sword/swmodule.h:135: candidates are: 
> operator==(int, int) <builtin>
> /usr/lib/qt-2.3.1/include/qcstring.h:319:                 bool 
> operator== (const QCString &, const
> QCString &)
> /usr/lib/qt-2.3.1/include/qstring.h:270:                 int operator== 
> (char, QChar)
> /usr/lib/qt-2.3.1/include/qstring.h:275:                 int operator== 
> (QChar, char)
> /usr/lib/qt-2.3.1/include/qstring.h:280:                 int operator== 
> (QChar, QChar)
> /usr/local/sword/include/sword/swmodule.h:135: ambiguous overload for 
> `const char & == ENCODINGS'
> /usr/local/sword/include/sword/swmodule.h:135: candidates are: 
> operator==(int, int) <builtin>
> /usr/lib/qt-2.3.1/include/qcstring.h:319:                 bool 
> operator== (const QCString &, const
> QCString &)
> /usr/lib/qt-2.3.1/include/qstring.h:270:                 int operator== 
> (char, QChar)
> /usr/lib/qt-2.3.1/include/qstring.h:275:                 int operator== 
> (QChar, char)
> /usr/lib/qt-2.3.1/include/qstring.h:280:                 int operator== 
> (QChar, QChar)
> make[3]: *** [cswordmodulesearch.o] Error 1
> make[3]: Leaving directory 
> `/home/mark/bibletime/bibletime/bibletime/backend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/mark/bibletime/bibletime/bibletime'
> 
>