Code Monkey home page Code Monkey logo

Comments (12)

AoifeHughes avatar AoifeHughes commented on May 14, 2024

This is with using Clang, I should probably add.

from rgbds.

AoifeHughes avatar AoifeHughes commented on May 14, 2024

Tried with gcc, was able to build with the release 0.24 version however, not sure what the issue is then.

from rgbds.

bentley avatar bentley commented on May 14, 2024

What version of libpng are you using? Have you tried a current one?

from rgbds.

AoifeHughes avatar AoifeHughes commented on May 14, 2024

I've tried with a few different versions, I've tried, libpng3, libpng12, libpng16, same error each time. But I was able to make and install This version without any issues. Has something major changed?

from rgbds.

bentley avatar bentley commented on May 14, 2024

Well, the obvious change since 0.2.4 is that there’s now a program that actually uses libpng, rgbgfx.

from rgbds.

bentley avatar bentley commented on May 14, 2024

What operating system are you running?

rgbgfx builds fine here with clang and libpng-1.6.25. You should definitely be using 1.6.something—rgbgfx uses libpng APIs from that version.

from rgbds.

AoifeHughes avatar AoifeHughes commented on May 14, 2024

I'm on Ubuntu Linux 16.04.

Ill double check and get back to you with full versions and compiler output

On 13 Sep 2016 9:06 am, "Anthony J. Bentley" [email protected]
wrote:

What operating system are you using?

rgbgfx builds fine here with clang and libpng-1.6.25. You should
definitely be using 1.6.something—rgbgfx uses libpng APIs from that
version.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#92 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKaur-2hKXfuzEezZxJ_coZBxlKYPX8sks5qplmFgaJpZM4J6ttB
.

from rgbds.

yenatch avatar yenatch commented on May 14, 2024

#94

from rgbds.

lancekindle avatar lancekindle commented on May 14, 2024

I also just ran into this error and fixed it by installing the latest 1.6 version of libpng from sourceforge.

Xubuntu 16.04 (and consequently Ubuntu 16.04) uses libpng 1.2.54 so we must install libpng from source.
Even installing libpng-dev does not install a newer version (perhaps that's obvious to more experienced people unlike myself)

from rgbds.

bentley avatar bentley commented on May 14, 2024

Right, this can be solved by installing a current libpng (too bad they keep “improving” the API all the time). Not related to #94 either.

from rgbds.

lancekindle avatar lancekindle commented on May 14, 2024

I honestly wouldn't have thought to install the newer version of libpng if it weren't for this issue.
Is there anyway we can make checks during the make process?
pkg-config --modversion libpng
will return the version of libpng

from rgbds.

frarees avatar frarees commented on May 14, 2024

I hope I'm not bothering anyone writing in a closed issue, but #104 addresses the issue stated by @SirSharpest, grating compatibility with older libpng versions.

from rgbds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.