Closed arjunmenon closed 3 weeks ago
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
.
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.
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.
Got it. Let me try that out. Thanks.
Hey, built sdl from source. I was able to run this. Thanks for your support.
Hey, unable to install this. I am on linux mint from a VM. Configure logs without any flags
Make output (truncated only to error)
I also tried to run configure using
--with-x
to just use x11. But I get the same output. How to install this properly?