Giter Site home page Giter Site logo

Comments (4)

dpwiz avatar dpwiz commented on August 21, 2024 1

This is a part of SDL_RenderGeometry added recently, which is available since SDL 2.0.18.

Please check if a solutions in #292 work for you.

from sdl2.

reidrac avatar reidrac commented on August 21, 2024

flags: -recent-ish works!

#292 looks good but perhaps it should be more explicit:

  • at least 2.0.6
  • from 2.0.6 to 2.0.18 needs the flag
  • otherwise, nothing is needed

The option of providing paths only works if there's no system installed SDL2 for development, because it included both and the system one wins any local installation. I know this is probably something only affecting people using Debian, but just my 2 cents.

Thank you for your help!

from sdl2.

reidrac avatar reidrac commented on August 21, 2024

Actually, you can use your local SDL2 installation with:

PKG_CONFIG_PATH=/home/user/SDL2/local/lib/pkgconfig/ cabal build 

That will use the local install of SDL2 on that directory.

from sdl2.

dpwiz avatar dpwiz commented on August 21, 2024

I believe the pkgconfig flag should help with avoiding host library. I added that too.

from sdl2.

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.