[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 0.28 doesn't compile

From: Antonio Diaz Diaz
Subject: Re: 0.28 doesn't compile
Date: Fri, 09 Dec 2022 16:58:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20110420 SeaMonkey/2.0.14

Hi Dominik,

Dominik Kurz wrote:
Hi, I just wanted to let you know that the version 0.28 doesn't compile
using the installation instructions in the INSTALL file, but 0.27 does.

g++  -Wall -W -O2 -c -o png_io.o png_io.cc
png_io.cc:27:10: fatal error: png.h: No such file or directory
    27 | #include <png.h>
       |          ^~~~~~~

As you can see in the section "Requirements" of the INSTALL file:

  The PNG Reference Library ("libpng") must be installed.
  Libpng is available at http://www.libpng.org.

You need to install libpng. Most probably you'll nedd to install the development package for libpng using the package manager of your distribution.

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]