libpng 1.6.28 Error building in VS2015 x64

MS <[email protected]>
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CAP9MLdpRW0NSkJMYeJC7MhcKVdVFGjdPwO2ur6oXcRgQX6cK7Q@mail.gmail.com>
It looks like there is an error when trying to build libpng with VS2015.
This happens if we try to create it with NMake or VS.

To replicate this error you need to open CMakeLists in cmake,
select Visual Studio 14 2015 Win64 as the project. Configure and Generate.

After opening the created project in VS and running Build I get the
following:

3>  Building Custom Rule
D:/Development/TheConstructExt/ExtSrc/lpng1628/CMakeLists.txt
3>  CMake does not need to re-run because
D:\Development\TheConstructExt\ExtSrc\lpng1628\CMakeFiles\generate.stamp
is up-to-date.
3>  Generating pnglibconf.c
3>  gawk: D:/Development/TheConstructExt/ExtSrc/lpng1628/scripts/options.awk:169:
(FILENAME=D:/Development/TheConstructExt/ExtSrc/lpng1628/scripts/pnglibconf.dfa
FNR=891) fatal: cannot open file
`D:/Development/TheConstructExt/ExtSrc/lpng1628/pngusr.dfa' for
reading (No such file or directory)
3>
3>  CMake Error at scripts/gensrc.cmake:60 (message):
3>    Failed to generate pnglibconf.tf4
3>
3>
3>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5):
error MSB6006: "cmd.exe" exited with code 1.

it looks like the file pngusr.dfa is not in the lpng1628 folder at all.
Instead it is in folders that are located in lpng1628\contrib\pngminim

Any help from the comunity would be greatly apreciated.


-- 
***********************
Maxim Serebrennik
Sr Software Enginneer | Leidos

C  (201) 686-8809

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.