Re: libpng 1.6.28 Error building in VS2015 x64

John Bowler <[email protected]>
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CAP7U399Hyt2jMV0sF95KZ6YkgnQiH_jnXhxT11z3Cy4Yc7yJTw@mail.gmail.com>
The file "pngusr.dfa" (in the top level directory) is part of the
distribution and should be there.  It is empty (well, it contains
comments explaining what it is, but nmothing of substance).

Sounds like something, or someone, deleted it from your system.

John Bowler

On Tue, Jan 31, 2017 at 8:47 AM, MS <[email protected]> wrote:
> 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
>



-- 
John Bowler <[email protected]>
+1 (541) 450-9885
PO BOX 3151
KERBY OR 97531-3151
USA

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
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.