[bt-devel] Building BibleTime on cygwin
Krzysztof Bialas
krzbia at ctm.gdynia.pl
Tue Apr 26 00:28:33 MST 2005
Hi!
I've just almost succeeded in getting the bibletime to work on cygwin.
Almost becouse the resulting executable does not work... Can anyone help
with that?
The build was not very straightforward but still managable.
1) After building sword (SVN version as of today - 2005-04-26) and
installing it I had to change the unixstr.h and comment out int stricmp
(const char *s1, const char *s2);
2) Bibletime (CVS version as of today - 2005-04-26) was configured
with --without-arts
3) cbtconfig.h include "KActionColletion.h" changed to "KAction.h"
4) chtmlreaddisplay.cpp in line 255 removed second parameter to
invokeBrowser function (on cygwin it has only one parameter)
5) As final link bails out searching for -ldl, i've performed linking by
hand using command (taken from console after switching libtool to not
use --quiet mode:
---
g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings
-O2 -fno-exceptions-fno-check-new -fno-common -o bibletime.exe
bibletime_init.o bibletime_slots.o bibletime.o bibletimeapp.o main.o
bibletime.moc.o -L/opt/kde3/lib -L/opt/qt/3.2/lib -L/usr/X11R6/lib -L/usr/local/lib
./frontend/displaywindow/libdisplaywindow.a ./frontend/display/libdisplay.a
./frontend/keychooser/libkeychooser.a ./frontend/mainindex/libmainindex.a
./frontend/searchdialog/libsearchdialog.a ./frontend/libfrontend.a
./backend/libbackend.a ./util/libutil.a -L/opt/qt3/lib
/opt/kde3/lib/libkhtml.dll.a /usr/lib/libjpeg.dll.a
/opt/kde3/lib/libkjs.dll.a /usr/lib/libpcreposix.dll.a
/usr/lib/libpcre.dll.a /opt/kde3/lib/libkdeprint.dll.a
/opt/kde3/lib/libkparts.dll.a /opt/kde3/lib/libkutils.dll.a
/opt/kde3/lib/libkio.dll.a /opt/kde3/lib/libkdesu.dll.a -lutil
/opt/kde3/lib/libkdeui.dll.a /opt/kde3/lib/libkdecore.dll.a
/opt/kde3/lib/libDCOP.dll.a /opt/kde3/lib/libltdl.dll.a
/opt/kde3/lib/libkdefx.dll.a -lXrender -lqt-mt -lpng -lXext -lcygipc -lSM -lICE
-lpthread -lX11 /usr/local/lib/libsword.a -L/usr/lib
/usr/lib/libcurl.dll.a -lssl -lcrypto -lgdi32 -lwinmm -lz -L/opt/kde3/lib -L/opt/kde3/lib
-L/opt/qt/3.2/lib -L/usr/X11R6/lib
---
THE RESULT:
bibletime.exe
Then make install and everything went ok.
Unfortunatelly running bibletime.exe gives me error "Application was not
initialized properly (0xc0000005)."
Can anyone help??
Christopher
More information about the bt-devel
mailing list