I've created a SDL2 based project, that after the building proccess creates a prog.exe file.
Sending the project to other systems creates an error: ERROR: The program can't start because SDL2.dll is missing from your computer.
Which makes sense, because they didn't install sdl to begin with.
Is there a way for me to send them the .exe file that already has all the needed libraries, without making them to install SDL by themselves?
Thanks.
You can take sdl2.dll from your computer and copy that to the same directory on the other computer as you have the .exe in.
Typically an installer for your application would handle this.