[sword-devel] Trying to build
Sean Healy
jalopeura at hotmail.com
Sun Nov 23 08:02:28 MST 2008
I'm trying to build the frontend, and I have run into some problems.
I just joined the list, and I saw no search feature on the archives
page, so if any of this has been answered before, please direct me to
the appropriate place in the archives.
First, what I'm working with:
Windows XP SP3
Turbo C++ 2006
Revisions
biblecs: 488
icu-sword: 154
sword: 2210
When I try to compile, I get an error about a missing Greek2Greek.cpp. I
manually removed the reference to that file, and instead got the message
that I needed to increase my library page size to 1024. So I did that
(it took me quite a while to figure out how to do it) and tried again. I
got 19 errors in sword.bdsproj (4 unique errors). (Since that is last in
the list of projects, everything else appears to have built correctly,
although with numerous warnings.)
[C++ Error] mainfrm.cpp(447): E2316 'books' is not a member of 'VerseKey'
[C++ Error] mainfrm.cpp(461): E2093 'operator!' not implemented in type
'AnsiString' for arguments of the same type
[C++ Error] mainfrm.cpp(461): E2093 'operator!' not implemented in type
'AnsiString' for arguments of the same type
[C++ Error] mainfrm.cpp(485): E2316 'c_str' is not a member of 'WideString'
[C++ Error] mainfrm.cpp(541): E2316 'c_str' is not a member of 'WideString'
[C++ Error] mainfrm.cpp(702): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(703): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(704): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(705): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(707): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(708): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(715): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(716): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(717): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(718): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(720): E2294 Structure required on left side of .
or .*
[C++ Error] mainfrm.cpp(1929): E2316 'c_str' is not a member of 'WideString'
[C++ Error] mainfrm.cpp(2159): E2316 'c_str' is not a member of 'WideString'
[C++ Error] mainfrm.cpp(2162): E2316 'c_str' is not a member of 'WideString'
I tried the BCB5 branch as well. First I got a popup telling me that it
couldn't locate TntLibR.bdsproj, and then I got the following error
compiling clucene.lib:
[C++ Error] BooleanClause.h(56): E2312 'LuceneVoidBase' is not an
unambiguous base class of 'BooleanClause'
Full parser context
CLMonolithic.cpp(57): #include G:\The SWORD
Project\svn\BCB5\clucene\src\CLucene/queryParser/Lexer.cpp
Lexer.cpp(8): #include G:\The SWORD
Project\svn\BCB5\clucene\src\CLucene/queryParser/Lexer.h
Lexer.h(18): #include G:\The SWORD
Project\svn\BCB5\clucene\src\CLucene/queryParser/TokenList.h
TokenList.h(15): #include G:\The SWORD
Project\svn\BCB5\clucene\src\CLucene/queryParser/QueryToken.h
QueryToken.h(14): #include G:\The SWORD
Project\svn\BCB5\clucene\src\CLucene/queryParser/QueryParserBase.h
QueryParserBase.h(15): #include G:\The SWORD
Project\svn\BCB5\clucene\src\CLucene/search/BooleanClause.h
BooleanClause.h(15): namespace lucene
BooleanClause.h(15): namespace search
BooleanClause.h(17): class BooleanClause
BooleanClause.h(85): decision to instantiate:
BooleanClause::BooleanClause(const BooleanClause &)
--- Resetting parser context for instantiation...
BooleanClause.h(52): parsing: BooleanClause::BooleanClause(const
BooleanClause &)
I also tried downloading Borland Compiler 5.5, which is a bunch of
command line tools, but unfortunately the makefile already present
didn't work and the tool to convert project files into makefiles is not
included with Compiler 5.5, so I was unable to do anything with the
other tools.
I am assuming that the code in the branch compiles under Builder 5, so
it must be the differences between Builder 5 and Turbo C++ that are the
issue here. Unfortunately, this is my first time even looking at the
code and my first time working with Borland products, so I have no idea
where to even start. Any ideas?
Also, has anyone tried to build under MinGW/MSYS? I assume the engine
will build fine, since the wiki indicates it builds under Cygwin, but is
there a makefile for building the frontend?
More information about the sword-devel
mailing list