<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head></head><body>Hi guys. This is a change. Previously, we included zlib within the SWORD sources, but this hadn't been updated for a very long time. Rather then update to a current version of zlib, we decided we probably shouldn't carry around our own copy just for a Windows build, as this library was likely readily available for Windows developers on all platforms we support now.<br><br>It sounds like the CMakefile wasn't updated by me correctly if it is still trying to compile the internal zlib files during a Windows build. I'll try to have a look soon.<br><br>Troy<br><br><div class="gmail_quote">On February 16, 2021 4:18:07 AM MST, Tobias Klein <contact@tklein.info> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div dir="auto">
<div dir="auto">Hi Zdenko,</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Tobias</div><div dir="auto"><br></div>
<div id="aqm-original" style="color: black;">
<!-- body start -->
<div class="aqm-original-body">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: sans-serif; margin: 8pt 0;">Am 16. Februar 2021 09:21:01 schrieb ZdPo Ster <zdposter@gmail.com>:</p>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="ltr"><div>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).</div><div><br></div><div>Try to install <a href="https://github.com/madler/zlib">https://github.com/madler/zlib</a> with cmake before configuring and building the sword.</div><div><br></div><div>Zdenko<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 15 Feb 2021 at 18:33, Tobias Klein <<a href="mailto:contact@tklein.info">contact@tklein.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi,<div><br></div><div>I have observed a build issue with the latest SWORD trunk on Windows.</div><div><br></div><div>I am getting this message:</div><div><br></div><div><div style="box-sizing:border-box;color:rgb(49,59,69);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace"><div style="box-sizing:border-box;display:flex;line-height:20px"><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">CMake Error at CMakeLists.txt:85 (ADD_LIBRARY):
</span></span></div></div><div style="box-sizing:border-box;color:rgb(49,59,69);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace"><div style="box-sizing:border-box;line-height:20px;display:flex"><a href="https://github.com/ezra-project/sword-build-win32/runs/1904990888?check_suite_focus=true#step:12:112" style="box-sizing:border-box;text-decoration:none;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;display:inline-block" target="_blank">112</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">  Cannot find source file:
</span></span></div></div><div style="box-sizing:border-box;color:rgb(49,59,69);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace"><div style="box-sizing:border-box;display:flex;line-height:20px"><a href="https://github.com/ezra-project/sword-build-win32/runs/1904990888?check_suite_focus=true#step:12:113" style="box-sizing:border-box;text-decoration:none;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;display:inline-block" target="_blank">113</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">
</span></span></div></div><div style="box-sizing:border-box;color:rgb(49,59,69);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace"><div style="box-sizing:border-box;display:flex;line-height:20px"><a href="https://github.com/ezra-project/sword-build-win32/runs/1904990888?check_suite_focus=true#step:12:114" style="box-sizing:border-box;text-decoration:none;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;display:inline-block" target="_blank">114</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">    src/utilfuns/zlib/adler32.c</span></span></div></div></div><div><br></div><div>When checking the content of /src/utilfuns it appears like that folder (zlib) and file (adler32.c) is actually missing.</div><div><br></div><div>I am not getting that error on macOS, so it seems like it is a Windows-specific CMake configuration issue?</div><div><br></div><div>Best regards,</div><div>Tobias</div></div>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div>

<div>_______________________________________________</div>
<div>sword-devel mailing list: <a class="aqm-autolink aqm-autowrap" href="mailto:sword-devel%40crosswire.org">sword-devel@crosswire.org</a></div>
<div><a class="aqm-autolink aqm-autowrap" href="http://crosswire.org/mailman/listinfo/sword-devel">http://crosswire.org/mailman/listinfo/sword-devel</a></div>
<div>Instructions to unsubscribe/change your settings at above page</div>
</blockquote>
</div>
</div>
<!-- body end -->

</div><div dir="auto"><br></div>
</div>

</blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>