[sword-devel] Win32 FileMgr Subclass - BibleTime

Gary Holmlund gary.holmlund at gmail.com
Tue Jul 28 01:02:30 EDT 2020


On 7/27/20 12:44 PM, Greg Hellings wrote:
>
>
> On Mon, Jul 27, 2020 at 3:22 PM Tobias Klein <contact at tklein.info 
> <mailto:contact at tklein.info>> wrote:
>
>     Maybe it helps: This is how I build bzip2 on Windows with the
>     Visual Studio compiler based on their Git repo
>     _git://sourceware.org/git/bzip2.git
>     <http://sourceware.org/git/bzip2.git>_.
>
>     https://github.com/tobias-klein/sword-build-win32/blob/master/build_bzip2.bat
>
>     Best regards,
>     Tobias
>
>     *From: *Gary Holmlund <mailto:gary.holmlund at gmail.com>
>     *Sent: *Montag, 27. Juli 2020 21:01
>     *To: *SWORD Developers' Collaboration Forum
>     <mailto:sword-devel at crosswire.org>; Greg Hellings
>     <mailto:greg.hellings at gmail.com>
>     *Subject: *Re: [sword-devel] Win32 FileMgr Subclass - BibleTime
>
>     On 7/27/2020 7:24 AM, Greg Hellings wrote:
>
>     >
>
>     > If any other Xiphos developers want to do testing, or if BibleTime
>
>     > does any cross compiling from Fedora. You can also find Xiphos
>
>     > installers building the latest Xiphos head against this latest
>     Sword
>
>     > head. I'm very far from any Windows machine I can use as a test,
>     so if
>
>     > anyone else has a Windows machine to test this on - preferably one
>
>     > with a username that includes non-ASCII characters in it - then
>     feel
>
>     > free to grab that. If the BibleTime Windows builder (Gary?)
>     wants to
>
>     > generate builds against the latest SVN HEAD and test in the same
>
>     > manner, it would be a huge help.
>
>     Greg,
>
>     I tried to build BibleTime with the latest sword svn, but I ran
>     into a
>
>     build issue. We don't build with bzip2 because it is not well
>     supported
>
>     on Windows. I used the cmake var SWORD_NO_BZIP2=Yes, but the sword
>     build
>
>     still required bzip2. Can you fix this?
>
>
> Interesting. I was sitting here trying to figure out what you could be 
> possibly running into. I don't do my builds with bzip2 installed from 
> MinGW!
>
> Turns out CMakeLists.txt has:
>
> IF(MSVC)
>      FIND_PACKAGE(BZIP2 REQUIRED)
>      FIND_PACKAGE(XZ REQUIRED)
>      FIND_PACKAGE(ICU REQUIRED)
>      FIND_PACKAGE(CURL REQUIRED)
> ELSE(MSVC)
>      FIND_PACKAGE(BZIP2 QUIET)
>      FIND_PACKAGE(XZ QUIET)
>      FIND_PACKAGE(ICU
>                     COMPONENTS data i18n io uc)
>      FIND_PACKAGE(CURL QUIET)
> ENDIF(MSVC)
>
> No issues taking that out, but why would I have make BZip2, XZ, and 
> cURL required on MSVC but not for any builds with gcc, even on Windows?
>
> As for its support, I imagine you can use vcpkg to install it? Then 
> you don't have to mess with maintaining your own builds.
>
> --Greg
>
>     Gary Holmlund
>
>
Greg,

I just did a local patch to CMakeLists.txt so I could build BibleTime. I 
built BT 3.0.0-rc1 and tested it with non-ascii home directory. I used 
Visual Studio 2019 and Qt 5.15.0.

I was able to install, read, search, etc. I did not see any problems.

Gary

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200727/c8e94503/attachment-0001.html>


More information about the sword-devel mailing list