VOGONS


DOSBox debugger

Topic actions

Reply 161 of 165, by videogamer555

User metadata
Rank Member
Rank
Member

I just downloaded dosbox-74-3-debug.exe and it says it's missing SDL DLLs. It seems the normal version of DOSBox was compiled with static SDL libraries, but the debug version of DOSBox is compiled only with import libraries mode, expecting external DLLs to be supplied separately. Also it's expecting DLLs with the names SDL.dll and SDL_net.dll but those can't be downloaded from the official SDL website or github. Only the DLLs called SDL2.dll and SDL2_net.dll are available there. It seems that SDL.dll (and releated files) must be from SDL 1.x while the currently available DLLs are based on SDL 2.x and are therefore not the same DLL files. Also the DLL files can't just be renamed. I'm not sure about the equivalent in Linux (.SO files) but Windows DLLs can't just be renamed. Windows DLLs have an internal name that usually must match the filename for them to work correctly. And that's been the case here. I can't download the current SDL DLLs and have them work in DOSBox. I'll need to find an archive of old SDL DLLs somewhere, unless somebody here can post them for me to download. Without those, I won't be able to use dosbox-74-3-debug.exe

Reply 163 of 165, by doshea

User metadata
Rank Member
Rank
Member
videogamer555 wrote on 2024-05-23, 21:02:

I'll need to find an archive of old SDL DLLs somewhere, unless somebody here can post them for me to download. Without those, I won't be able to use dosbox-74-3-debug.exe

I did Google searches for "sdl" and "sdl_net" and these links were on the first screen of results:

https://www.libsdl.org/release/
https://www.libsdl.org/projects/SDL_net/release/

https://www.libsdl.org/release/SDL-1.2.15-win32.zip contains an "SDL.dll" and I suspect some download from the second link will give you the SDL_net.dll you need.

Reply 165 of 165, by videogamer555

User metadata
Rank Member
Rank
Member
jmarsh wrote on 2024-05-23, 22:14:

Regular DOSBox builds do not use static SDL libraries.

Ok. Sorry. I thought it was statically linked in the normal version because I didn't remember seeing the DLLs there, but upon looking at it again, I see it does have the DLLs there.