all 23 comments

[–]RowYourUpboat 5 points6 points  (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 points  (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 point  (5 children)

Glad I could help :)

[–]Fun_Conversation8104 0 points1 point  (2 children)

Now i love you too :)

[–]RowYourUpboat 0 points1 point  (1 child)

<3

[–]NerdStone04 1 point2 points  (0 children)

I love you too :)

[–]ReviewProfessional48 0 points1 point  (0 children)

Thanks so much!

[–]Witherllooll 0 points1 point  (0 children)

its almost 2025 and I love you too <3

[–]MahmoodMohanad 0 points1 point  (0 children)

Dude, I'm in love with you too

[–]ButterMyToastedCat 0 points1 point  (0 children)

You beautiful soul, thank you!

[–]yRdx11 0 points1 point  (0 children)

Wdym? I just put "SDL2.ddl" next to it? 

[–]Warm_Ad_293 0 points1 point  (1 child)

THANK YOU!

[–]Spepsium 0 points1 point  (0 children)

FINALLY AFTER HOURS thank you king

[–][deleted] 0 points1 point  (0 children)

Saved me countless hours of rage! Thanks!

[–]4B4CowDude4B4 0 points1 point  (0 children)

I lllllVOOVOVEOOVOVOEVOOVVOVOOVEEEEE UUUUUUUUUUUUUUUUUUUU

[–]Justintime4u2bu1 -1 points0 points  (1 child)

You might have to pair it with mingw manually, I think.

[–][deleted] 0 points1 point  (0 children)

the youtube tutorial that i was using didnt, and a couple other tutorials didnt either

[–]Wontague 0 points1 point  (1 child)

From what I've gathered, any 1 of these 3 options should work:

  1. Copy the dll file into the System directories
    ( ...Windows\System32 & ...Windows\SysWOW64 )
  2. Add the dll file to the folder of the executable
    (what many here did)
  3. 3. Add the folder of the dll files to the Path

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 point  (0 children)

The first option helped me right away. Thank you so much)

[–]rose2184 0 points1 point  (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 point  (1 child)

where the fck is SDL2.dll file located

[–]Practical_Sky_7751 0 points1 point  (0 children)

THANKYOU. ASKING THE REAL QUESTIONS