Coder Social home page Coder Social logo

Linking fails on Fedora 22 about imv HOT 7 CLOSED

exec64 avatar exec64 commented on August 16, 2024
Linking fails on Fedora 22

from imv.

Comments (7)

jdiez17 avatar jdiez17 commented on August 16, 2024

FreeImage_EnlargeCanvas was added in version 3.13.0, so you need to upgrade freeimage. We use it to composite some types of gifs, so it's not a feature we can do without. Perhaps it would be a good idea to provide our own EnlargeCanvas function. Thoughts, @eXeC64?

from imv.

eXeC64 avatar eXeC64 commented on August 16, 2024

I didn't realise it was such a recent feature. Given that F22 was only released in May I think we should be supporting it. We'll just have to re-implement it.

from imv.

sjkingo avatar sjkingo commented on August 16, 2024

According to the release announcement for 3.13.0, FreeImage_AllocateEx was added in this version also, along with FreeImage_EnlargeCanvas, so the build still does not work against Fedora 22's freeimage-3.10:

build/image.o: In function `imv_image_load_next_frame':
image.c:(.text+0x581): undefined reference to `FreeImage_AllocateEx'
collect2: error: ld returned 1 exit status

I will see what version of freeimage is in the F23 repos and report back: perhaps you could just pin the minimum version of freeimage to 3.13.0 if it's in the newer repo.

from imv.

eXeC64 avatar eXeC64 commented on August 16, 2024

Good grief. FreeImage v3.13.0 has been out for 6 years already, and Fedora 22 is shipping an older version than that? Seems that v3.10.0 was released in 2007, making it 8 years old.

I'm not holding out much hope for Fedora 23's repositories.

from imv.

eXeC64 avatar eXeC64 commented on August 16, 2024

@sjkingo I've just pushed a commit that replaces AllocateEx with Allocate. If Fedora 22 doesn't have that I'll eat my hat.

from imv.

sjkingo avatar sjkingo commented on August 16, 2024

No hat eating required @eXeC64: that works nicely, thank-you.

For reference, F23's main repo has version 3.17.0 of freeimage and freeimage-devel. Looks like the maintainer updated it only recently.

Appreciate the quick fixes!

from imv.

eXeC64 avatar eXeC64 commented on August 16, 2024

Good to hear. 🍺

from imv.

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.