[bt-devel] Bibletime 2 testing

Greg Hellings greg.hellings at gmail.com
Fri Aug 12 22:11:24 MST 2005


Uh... make that http://www.sf.net/projects/wxsword

Sorry about that!

--Greg

On 8/13/05, Greg Hellings <greg.hellings at gmail.com> wrote:
> 
> Joachim,
> 
> After running the qmake from the Qt4 library I ran into a few more 
> problems:
> 
> 1. 'make' under MinGW didn't like the Makefile, so I had to use GNU's make 
> utility from the Windows command line
> 
> 2. The include directories for Sword had to be changed to accomodate 
> running them from the Windows prompt
> 
> 3. The Makefile for the libs was set to build the 'debug' version of the 
> software while the Makefile in the bibletime/ directory was set for release 
> - I fixed this by changing the one in bibletime/ to run the debug mode.
> 
> 4. I had to remove the dependance on ../libs/sword-backend/libsword-
> backend.a as well as change the definition of LIBS so that it points to 
> ../libs/sword-backend/debug/libsword-backend.a
> 
> 5. ld.exe dies with an error that it cannot find '-lqtmaind' which is in 
> the directory indicated immediately preceding by the command 
> '-L"C:/Qt/4.0.0/lib"' - I have yet to diagnose this problem and why g++/ld 
> cannot locate the indicated library. I should think that it would not be 
> very hard, but I guess things are all in the eye of the beholder :).
> 
> 6. In a sudden burst of inspirational genius moments before I went to bed, 
> I looked again in the Qt directory - there is no debugging version of the 
> libqtmain, so the libqtmaind is not there. So I changed everything to 
> building a release version and found that ld.exe bailed out on -lsword. I 
> fixed that by adding a line to LIBS that included my libsword.a and the 
> program built perfectly. Now, true... I don't have a debug version available 
> under Windows, but I do now have a bibletime2.exe built.
> 
> Only one minor bug remained, and that was the location where the 
> executable was created. I thought that the binary ought to appear in 
> ~/bibletime2/bin, under the head directory of the bibletime2 source, but it 
> appears you missed one set of ../ in the path, so it was, instead, created 
> in ~/bibletime2/bibletime/bin - but that's only a minor nuisance. I have 
> uploaded the file to my project under http://www.sf.net/project/wxswordsite under the Bibletime2 area. The file executable only came out to 440kB 
> on disk.
> 
> Just as a final note, I much prefer the UI of the current Bibletime. I 
> think the strongest feature of Bibletime and MacSword is the fact that the 
> windows within can be rearranged freely, rather than relying on 
> pre-positioned panels with sliders. But I realize this is mainly a 
> proof-of-concept at the moment. I look forward to the upcoming success!
> 
> --Greg
> 
> On 8/12/05, Joachim Ansorg <nospam+bt-devel at joachim-ansorg.de> wrote:
> > 
> > Hi,
> > 
> > > Joachim.
> > >
> > > Any compiling instructions for the Bibletime2 testing code? I have it 
> > in
> > > MinGW, but there are no make files or any hint of how to compile it...
> > 
> > In linux I usually do the export commands in start-kdevelop3.sh first 
> > (set
> > QTDIR, etc) and then
> > 
> > qmake
> > make
> > 
> > to compile. The binary will be in bin/.
> > 
> > Make sure that Qt4's qmake is executed.
> > 
> > Joachim
> > _______________________________________________ 
> > bt-devel mailing list
> > bt-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/bt-devel
> > 
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/bt-devel/attachments/20050813/42776887/attachment.html


More information about the bt-devel mailing list