Giter Club home page Giter Club logo

Comments (5)

JulNadeauCA avatar JulNadeauCA commented on September 26, 2024

Could you try updating your version of SDL2 to 2.0.22 or later?

I'll add a version check to the ./configure test so it will output a more helpful error message in this case.

If you don't need the SDL2 drivers, you can also pass --without-sdl2.

from libagar.

arjunmenon avatar arjunmenon commented on September 26, 2024

It seems to be on the correct version

$: dpkg -l | grep sdl
ii  libsdl2-2.0-0:amd64                        2.0.20+dfsg-2ubuntu1.22.04.1                       amd64        Simple DirectMedia Layer
ii  libsdl2-dev:amd64                          2.0.20+dfsg-2ubuntu1.22.04.1                       amd64        Simple DirectMedia Layer development files

I installed it from the package manager itself.

from libagar.

JulNadeauCA avatar JulNadeauCA commented on September 26, 2024

That's a very outdated version (more than 2 years old). The latest is SDL 2.30.2.
I'd recommend that you download SDL from libsdl.org, compile and install it from source.

You may also want to contact the maintainer of that libsdl2 package and see why they're distributing such an old version.

We could always #ifdef the bit of code that uses SDL_HINT_MOUSE_AUTO_CAPTURE on our end, but I don't really want to do that since AG_Menu relies on it for proper behavior of popup menus in multi-window settings.

from libagar.

arjunmenon avatar arjunmenon commented on September 26, 2024

Got it. Let me try that out. Thanks.

from libagar.

arjunmenon avatar arjunmenon commented on September 26, 2024

Hey, built sdl from source. I was able to run this. Thanks for your support.

from libagar.

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.