T
Termux•4w ago
RandomGuy

How to Install SDL2?

So, I'm really interested in C++, but, the thing is, C++ itself doesn't have built-in tool/utility/library for 2D Graphics, which is kinda disappointing compared to Java, which has its own Library for 2D graphics such as Java Swing. But, C++ has a library called SDL2, Simple DirectMedia Layer, but, the library itself doesn't available in Termux Packages, so, how do i install it?
Solution:
@RandomGuy close the issue apt install sdl2...
Jump to solution
12 Replies
Dr. Jaska
Dr. Jaska•4w ago
It may be in the X11 package repository
RandomGuy
RandomGuyOP•4w ago
where's the X11 package repo?
Dr. Jaska
Dr. Jaska•4w ago
Open termux and read what it says there
RandomGuy
RandomGuyOP•4w ago
This? i already install it tho
No description
Dr. Jaska
Dr. Jaska•4w ago
Huh, I couldn't find sdl.h from Termux, x11 repo nor tur repo. You can grab the source code from their git with git clone https://github.com/libsdl-org/SDL.git and hope that you don't need to patch their build processes or you can see if they give releases which you can grab
Dr. Jaska
Dr. Jaska•4w ago
GitHub
Release 2.30.9 · libsdl-org/SDL
This is a stable bugfix release, with the following changes: Fixed audio issues on Android 15 Fixed rare audio distortion and crash when audio devices are changed on Windows Fixed the PS5 controll...
Dr. Jaska
Dr. Jaska•4w ago
@RandomGuy 🏓
Biswa96
Biswa96•4w ago
there is a sdl2 package in termux x11-repo apt install sdl2
Dr. Jaska
Dr. Jaska•4w ago
It gives SDL.h... I fucking hate case sensitivity
Solution
FZXO
FZXO•4w ago
@RandomGuy close the issue apt install sdl2
RandomGuy
RandomGuyOP•4w ago
let me try it first k
RandomGuy
RandomGuyOP•4w ago
yep, it was there also, I don't know but, i didn't realize i already install the package, i purely don't knowđź—żđź’€
No description
Want results from more Discord servers?
Add your server