Now I have a working GitHub Actions script to compile SWORD via MSYS2/MINGW64 and compile also bibref-qt with the freshly built SWORD library: https://github.com/kovzol/bibref/blob/b0ed253b69764204b5d63a233b23c96320229871/.github/workflows/build.yml#L61-L124
These are the required packages: base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake mingw-w64-x86_64-pkgconf mingw-w64-x86_64-clang mingw-w64-x86_64-zlib Here is the needed patch to prepare SWORD 1.9.0 for the build: https://github.com/kovzol/bibref/blob/master/sword-patch-mingw64.diff Then, SWORD must be configured (via cmake) to use prefix /mingw64. It is not necessary to use make via -G "MinGW Makefiles", it is also possible to use Ninja. In this case, of course, the package mingw-w64-x86_64-ninja is needed. Blessings, Zoltan Kovács Zoltán <kov...@gmail.com> ezt írta (időpont: 2024. márc. 11., H, 9:38): > Dear List, > during the last two months I have been porting my terminal based Bible > study tool "bibref" to have a graphical user interface (see > https://matek.hu/zoltan/blog-20240311.php for my blog entry). > Creating the Linux version was more straightforward than the Windows > version. For Windows, I used the MSYS2/MINGW64 environment. I think this > method has not yet been documented, so I would like to contribute my > experience on that soon. Basically, I had to use clang++ for compilation > (instead of g++) and there were some minor changes required (see > https://github.com/kovzol/bibref/tree/master/qt#building-on-windows). > I also made some minor changes on bibref's CMakeLists.txt ( > https://github.com/kovzol/bibref/commit/57c8d91728f1b648bd9ca3a92564b1125dad7ad4#diff-24b25a558b767a649faa13cbbc3b61401351b459ea8925b7b96bd93f109c1443), > it seems that SWORD was linked statically against bibref-qt.exe (and also > icu, lzma, bzip2 and zlib hat to be linked statically). > > Blessings, Zoltán > > -- > > *Dr. Zoltán** Kovács, MSc* > > Institut Ausbildung > > > > > *Private Pädagogische Hochschule der Diözese Linz* > *Private University of Education, Diocese Linz**Salesianumweg 3, 4020 > Linz* > *Mail: zoltan.kov...@ph-linz.at <zoltan.kov...@ph-linz.at>* > > *Web: www.ph-linz.at <http://www.ph-linz.at/>* > > > -- *Dr. Zoltán** Kovács, MSc* Institut Ausbildung *Private Pädagogische Hochschule der Diözese Linz* *Private University of Education, Diocese Linz**Salesianumweg 3, 4020 Linz* *Mail: zoltan.kov...@ph-linz.at <zoltan.kov...@ph-linz.at>* *Web: www.ph-linz.at <http://www.ph-linz.at/>*
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page