<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
<div dir="auto">That's great news, would it be possible to change the vs project and config file and merge it to master so can help others as well built in vs2017 as I also currently built using vs2015 only.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir='auto'><br></div>
<div id="aqm-original" style="font-family: sans-serif; font-size: 12pt; color: black;">
<!-- body start -->
<div class="aqm-original-body">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 8pt 0;">On July 2, 2018 11:12:17 PM Gregor Nanger <gregor@infomedia.si> wrote:</p>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
I managed to build successfully with latest Vs2017 version. Latest master built without problem, but 1.6.20, I had to do some manual changes in configuration. I am planning to prepare video tutorial.<div><br></div><div>Best regards, Gregor<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 1, 2018, 14:21 Andrew Keil <<a href="mailto:andrew.keil@visytel.com">andrew.keil@visytel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-AU" link="blue" vlink="purple">
<div class="m_848930430775239282WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Gregor,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Or you can make the following change to the zlib project for All Configurations and All Releases - C/C++ - All Options:</span><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333;background:#e0eaf3"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">- Disable Specific Warnings (add to end): ;5045<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">- Whole Program Optimization: No<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hope that helps.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Andrew<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>>
<b>On Behalf Of </b>bob. chen<br>
<b>Sent:</b> Tuesday, 26 June 2018 1:23 PM<br>
<b>To:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>
<b>Subject:</b> [Freeswitch-users] </span><span style="font-size:11.0pt;font-family:"MS Gothic"">答复</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">: Freeswitch windows build - libpng<u></u><u></u></span></p>
</div>
</div></div></div><div lang="EN-AU" link="blue" vlink="purple"><div class="m_848930430775239282WordSection1">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d">try vs2015 ;)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="ZH-CN" style="font-size:10.0pt">发件人</span></b><b><span lang="EN-US" style="font-size:10.0pt">:</span></b><span lang="EN-US" style="font-size:10.0pt">
 FreeSWITCH-users [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
</span><b><span lang="ZH-CN" style="font-size:10.0pt">代表
</span></b><span lang="EN-US" style="font-size:10.0pt">Gregor Nanger<br>
</span><b><span lang="ZH-CN" style="font-size:10.0pt">发送时间</span></b><b><span lang="EN-US" style="font-size:10.0pt">:</span></b><span lang="EN-US" style="font-size:10.0pt"> 2018</span><span lang="ZH-CN" style="font-size:10.0pt">年</span><span lang="EN-US" style="font-size:10.0pt">6</span><span lang="ZH-CN" style="font-size:10.0pt">月</span><span lang="EN-US" style="font-size:10.0pt">23</span><span lang="ZH-CN" style="font-size:10.0pt">日</span><span lang="EN-US" style="font-size:10.0pt">
 19:08<br>
</span><b><span lang="ZH-CN" style="font-size:10.0pt">收件人</span></b><b><span lang="EN-US" style="font-size:10.0pt">:</span></b><span lang="EN-US" style="font-size:10.0pt"> FreeSWITCH
 Users Help<br>
</span><b><span lang="ZH-CN" style="font-size:10.0pt">主题</span></b><b><span lang="EN-US" style="font-size:10.0pt">:</span></b><span lang="EN-US" style="font-size:10.0pt"> [Freeswitch-users]
 Freeswitch windows build - libpng<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">Hi!<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">After a year I wanted to build FS on windows and make video tutorial or for FS wiki.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">I am using latest VS2017 and everything builds except libpng project. Below is error if someone can help me, because I don't have c++ experience:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">1>------ Build started: Project: Download zlib, Configuration: Release Win32 ------<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">1>Downloading zlib.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>------ Build started: Project: libpng, Configuration: Release x64 ------<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>Generating pnglibconf.h<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>        1 file(s) copied.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>png.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngerror.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngget.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngmem.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngpread.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngread.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngrio.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngrtran.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngrutil.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngset.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngtrans.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngwio.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngwrite.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngwtran.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>pngwutil.c<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>Generating Code...<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>zlib.lib(inflate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve
 linker performance<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>   Creating library D:\Git\freeswitch\x64\Release\libpng16.lib and object D:\Git\freeswitch\x64\Release\libpng16.exp<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>Generating code<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(2097): error C2220: warning treated as error - no 'executable' file generated<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(2097): warning C5045: Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(2097) : note: index 'dist' range checked by comparison on this line<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(2097) : note: feeds memory load on this line<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(1987): warning C5045: Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(1987) : note: index 'dist' range checked by comparison on this line<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(1987) : note: feeds memory load on this line<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(1862): warning C5045: Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(1862) : note: index 'dist' range checked by comparison on this line<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>d:\git\freeswitch\libs\zlib\deflate.c(1862) : note: feeds memory load on this line<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>LINK : fatal error LNK1257: code generation failed<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">2>Done building project "libpng.vcxproj" -- FAILED.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Trebuchet MS",sans-serif">Best regards, Gregor<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><img border="0" width="1" height="1" style="width:.0104in;height:.0104in" id="m_848930430775239282_x0000_i1029" src="https://mltrk.io/pixel/Tc2KJVlKyuqZzoqBLBt4?rid=Tc2KJVlKyuqZzoqBLBt4"><u></u><u></u></span></p>
</div>
</div></div>

_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table border="0" style="color:rgb(34,34,34);font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px"><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)"><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)"><td style="font-family:arial,sans-serif;margin:8px;color:rgb(32,32,32);border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px"><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)"><span style="font-size: 10pt; font-family: georgia, serif;">Gregor Nanger</span></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)"> </div></td><td style="font-family:arial,sans-serif;margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px"><span style="font-size: 8pt; font-family: georgia, serif;"><b>CTO</b><br>t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br>• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br>• <a href="http://www.infomedia.si/" target="_blank">www.infomedia.si</a></span></td></tr></tbody></table></div></div>

_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a class="aqm-autolink aqm-autowrap" href="mailto:sales%40freeswitch.com">sales@freeswitch.com</a><br>
<a class="aqm-autolink aqm-autowrap" href="https://freeswitch.com">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a class="aqm-autolink aqm-autowrap" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a><br>
<a class="aqm-autolink aqm-autowrap" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a><br>
<a class="aqm-autolink aqm-autowrap" href="https://cluecon.com">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a class="aqm-autolink aqm-autowrap" href="mailto:FreeSWITCH-users%40lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="aqm-autolink aqm-autowrap" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a class="aqm-autolink aqm-autowrap" href="https://freeswitch.com">https://freeswitch.com</a></blockquote>
</div>
</div>
<!-- body end -->

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