What would I need to do in order to use SDL2 library on C++ programs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What would I need to do in order to use SDL2 library on C++ programs?

I've understood that SDL2 would be good for developing graphical programs in C++. I installed SDL2 from https://www.libsdl.org/download-2.0.php as SDL2-2.0.12-win32-x64.zip, but I don't know what to do next, I currently have SDL2.dll in my downloads folder. What do I need to do with it in order to use SDL2 in C++ programs? Or how did you install SDL2 (in case you ever did)? I'm using Windows 10.

27th Jun 2020, 6:11 PM
Seb TheS
Seb TheS - avatar
3 Answers
+ 2
Hello, sorry for late reply, but I didn't get SDL work. Ćheyat I checked the channel and found a video covering installation of SDL, it didn't help. DragoCoder I don't know what the code is suppoded to do.
11th Jul 2020, 6:04 PM
Seb TheS
Seb TheS - avatar
+ 1
Hello Seb TheS , Here is a video. I know it's like 5 years old but you could try. By the look of things I guess you are a beginner in SDL so I would recommend a whole series. The youtuber's name is makinggameswithben and here is his playlist. https://www.youtube.com/playlist?list=PLSPw4ASQYyymu3PfG9gxywSPghnSMiOAW I learned C++ from him more than from sololearn to be honest. Lol! But you could check out his whole series. Have a good day, Ćheyat
29th Jun 2020, 1:27 AM
Ćheyat
Ćheyat - avatar
+ 1
Hey bro look this code : https://code.sololearn.com/c9OGMs9nSVYV/?ref=app I have created only for you ! I hope you like it and understand it. (run it on a compiler with sdl plugin or sdl compiler)
29th Jun 2020, 5:54 PM
DragoCoder
DragoCoder - avatar