[sword-devel] Latest SWORD trunk / Build issue on Windows (Root-cause: CMake configuration related to zlib)
Tobias Klein
contact at tklein.info
Mon Feb 22 02:30:22 EST 2021
Hi Greg,
Would you mind taking a look?
I checked what needs to be done to remove the zlib references, but it
was difficult to determine all the places that need to be changed. Let
me know if I can help.
Best regards,
Tobias
On 2/16/21 11:16 PM, Tobias Klein wrote:
> Dear Troy,
>
> Is it maybe this reference in /cmake/sources.cmake (line 214)
>
> SET(sword_zlib_nofound_SOURCES
> src/utilfuns/zlib/adler32.c
>
> Best regards,
> Tobias
>
> Am 16. Februar 2021 22:42:51 schrieb "Troy A. Griffitts"
> <scribe at crosswire.org>:
>
>> Dear Tobias,
>>
>> I have just had a look at a pristine checkout of SWORD trunk and I
>> have no trace of adler32.c in any CMakeList.txt. Could this be
>> similar to the stray symbols and such you were having with your build
>> framework previously, which we stipulated was due to no completely
>> cleaning build staging folders?
>>
>> If you can find the CMakeList.txt with a line 85 containing a
>> reference to adler32.c, please let me know and I will continue to
>> investigate.
>>
>> Glad the new toUpper code is working for you.
>>
>> Troy
>>
>>
>> On 2/16/21 4:18 AM, Tobias Klein wrote:
>>> Hi Zdenko,
>>>
>>> That Windows build (automated via GitHub Actions, also considering
>>> zlib) has been previously working (Last time when 1.9.0 was
>>> released), so I would rather guess that this is a regression in the
>>> CMake configuration of SWORD.
>>>
>>> Best regards,
>>> Tobias
>>>
>>> Am 16. Februar 2021 09:21:01 schrieb ZdPo Ster <zdposter at gmail.com>:
>>>
>>>> I expect that zlib is installed on Mac by default, while on windows
>>>> cmake configuration does not find a suitable zlib installation, so
>>>> it tries to build it (but source code is missing).
>>>>
>>>> Try to install https://github.com/madler/zlib with cmake before
>>>> configuring and building the sword.
>>>>
>>>> Zdenko
>>>>
>>>> On Mon, 15 Feb 2021 at 18:33, Tobias Klein <contact at tklein.info
>>>> <mailto:contact at tklein.info>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have observed a build issue with the latest SWORD trunk on
>>>> Windows.
>>>>
>>>> I am getting this message:
>>>>
>>>> CMake Error at CMakeLists.txt:85 (ADD_LIBRARY):
>>>> 112
>>>> <https://github.com/ezra-project/sword-build-win32/runs/1904990888?check_suite_focus=true#step:12:112>Cannot
>>>> find source file:
>>>> 113
>>>> <https://github.com/ezra-project/sword-build-win32/runs/1904990888?check_suite_focus=true#step:12:113>
>>>> 114
>>>> <https://github.com/ezra-project/sword-build-win32/runs/1904990888?check_suite_focus=true#step:12:114>src/utilfuns/zlib/adler32.c
>>>>
>>>> When checking the content of /src/utilfuns it appears like that
>>>> folder (zlib) and file (adler32.c) is actually missing.
>>>>
>>>> I am not getting that error on macOS, so it seems like it is a
>>>> Windows-specific CMake configuration issue?
>>>>
>>>> Best regards,
>>>> Tobias
>>>> _______________________________________________
>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>> <mailto:sword-devel at crosswire.org>
>>>> http://crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
>>>>
>>>> _______________________________________________
>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>> <mailto:sword-devel%40crosswire.org>
>>>> http://crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
>>>
>>>
>>> _______________________________________________
>>> sword-devel mailing list:sword-devel at crosswire.org
>>> http://crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> <mailto:sword-devel%40crosswire.org>
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20210222/273cdb92/attachment.html>
More information about the sword-devel
mailing list