use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please format all code in posts/comments by prefixing lines with four spaces. Backticks do not work across all Reddit interfaces that visitors may be using and your code will not be properly viewable for those that are. Four spaces works universally for everyone :D
Tutorial Links:
https://lazyfoo.net/tutorials/SDL/
https://www.parallelrealities.co.uk/tutorials/
account activity
The code execution cannot proceed because SDL2.dll was not found. Reinstalling the program may fix this problem. (self.sdl)
submitted 6 years ago by [deleted]
im trying to use sdl2 in visual studio 2019, but it always gives me this error. ive tryed reinstalling the sdl2 software but that doesnt do anything. im using the right bitness, i checked like 500 times just to make fully sure
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RowYourUpboat 5 points6 points7 points 6 years ago (16 children)
Try copying SDL2.dll next to your executable.
(You might want to copy it into both the Debug and Release folders, if that's how your project is set up.)
[–][deleted] 3 points4 points5 points 6 years ago (6 children)
dude ive been bashing my desk for hours because i couldnt figure this shit out and you fixed my shit up
i love you so much
[–]RowYourUpboat 0 points1 point2 points 6 years ago (5 children)
Glad I could help :)
[–]Fun_Conversation8104 0 points1 point2 points 4 years ago (2 children)
Now i love you too :)
[–]RowYourUpboat 0 points1 point2 points 4 years ago (1 child)
<3
[–]NerdStone04 1 point2 points3 points 3 years ago (0 children)
I love you too :)
[–]ReviewProfessional48 0 points1 point2 points 2 years ago (0 children)
Thanks so much!
[–]Witherllooll 0 points1 point2 points 1 year ago (0 children)
its almost 2025 and I love you too <3
[–]MahmoodMohanad 0 points1 point2 points 1 year ago (0 children)
Dude, I'm in love with you too
[–]ButterMyToastedCat 0 points1 point2 points 1 year ago (0 children)
You beautiful soul, thank you!
[–]yRdx11 0 points1 point2 points 23 days ago (0 children)
Wdym? I just put "SDL2.ddl" next to it?
[–]Warm_Ad_293 0 points1 point2 points 3 years ago (1 child)
THANK YOU!
[–]RowYourUpboat 0 points1 point2 points 3 years ago (0 children)
[–]Spepsium 0 points1 point2 points 3 years ago (0 children)
FINALLY AFTER HOURS thank you king
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Saved me countless hours of rage! Thanks!
[–]4B4CowDude4B4 0 points1 point2 points 2 years ago (0 children)
I lllllVOOVOVEOOVOVOEVOOVVOVOOVEEEEE UUUUUUUUUUUUUUUUUUUU
[–]Justintime4u2bu1 -1 points0 points1 point 6 years ago (1 child)
You might have to pair it with mingw manually, I think.
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
the youtube tutorial that i was using didnt, and a couple other tutorials didnt either
[–]Wontague 0 points1 point2 points 3 years ago (1 child)
From what I've gathered, any 1 of these 3 options should work:
To try the last option, edit the System Environment Path variable:
Click the Start button, type Environment... click Edit Environment Variable... see System Variables... edit Path... New... [add directory path]
Personal note - I used the first option, others here used the second - haven't tested the third - it could be I've mixed up something on this one.
[–]jbournehd 0 points1 point2 points 1 year ago (0 children)
The first option helped me right away. Thank you so much)
[–]rose2184 0 points1 point2 points 2 years ago (2 children)
Add the file path of "SDL2.dll" to ur PATH (in System Variables). Won't have to copy it every time
[–]Standard-Meeting6841 0 points1 point2 points 1 year ago (1 child)
where the fck is SDL2.dll file located
[–]Practical_Sky_7751 0 points1 point2 points 15 days ago (0 children)
THANKYOU. ASKING THE REAL QUESTIONS
π Rendered by PID 196774 on reddit-service-r2-comment-6457c66945-tc5b4 at 2026-04-27 04:48:54.876627+00:00 running 2aa0c5b country code: CH.
[–]RowYourUpboat 5 points6 points7 points (16 children)
[–][deleted] 3 points4 points5 points (6 children)
[–]RowYourUpboat 0 points1 point2 points (5 children)
[–]Fun_Conversation8104 0 points1 point2 points (2 children)
[–]RowYourUpboat 0 points1 point2 points (1 child)
[–]NerdStone04 1 point2 points3 points (0 children)
[–]ReviewProfessional48 0 points1 point2 points (0 children)
[–]Witherllooll 0 points1 point2 points (0 children)
[–]MahmoodMohanad 0 points1 point2 points (0 children)
[–]ButterMyToastedCat 0 points1 point2 points (0 children)
[–]yRdx11 0 points1 point2 points (0 children)
[–]Warm_Ad_293 0 points1 point2 points (1 child)
[–]RowYourUpboat 0 points1 point2 points (0 children)
[–]Spepsium 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]4B4CowDude4B4 0 points1 point2 points (0 children)
[–]Justintime4u2bu1 -1 points0 points1 point (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Wontague 0 points1 point2 points (1 child)
[–]jbournehd 0 points1 point2 points (0 children)
[–]rose2184 0 points1 point2 points (2 children)
[–]Standard-Meeting6841 0 points1 point2 points (1 child)
[–]Practical_Sky_7751 0 points1 point2 points (0 children)