[sword-devel] Latest SWORD trunk / Build issue on Windows

Tobias Klein contact at tklein.info
Tue Feb 16 17:16:06 EST 2021


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> 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
>>>  Cannot find source file:
>>>
>>> 113
>>>
>>>
>>> 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
>>> 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
>> 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/20210216/adaec4b4/attachment-0001.html>


More information about the sword-devel mailing list