VOGONS

Common searches


First post, by user222

User metadata
Rank Member
Rank
Member

How do I compile DOSBox on Windows?

Reply 3 of 5, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

http://sourceforge.net/forum/forum.php?thread … forum_id=174314

only take newer version of sdl/mingw/msys because this guide is a bit old
personally I use VisualC .NET, I find it faster and easier.

Reply 4 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

your best guess in mingw then.
or get windiff.

but mingw isn't that hard. There should be quite some guides floating around.

basicly you install mingw.
get the sdl-libs (from their homepage).

get the dosbox source from http://pcnwstage.phys.rug.nl/dosboxcvs.tgz
extract it (tar zxf dosboxcvs.tgz)
cd dosbox
./configure
(hope it doesn't bail out with an error. (if it complains about sdl copy it to more directories)).
make
if completed succesfully
look in src/ for dosbox.exe

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 5, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

There are instructions on building DOSBox on the Wiki: http://dosbox.sourceforge.net/wiki/index.php? … =BuildingDOSBox

For the SDL DLLs, I'd recommend the following (from most to least recommended):
- Get the latest CVS, edit it to allow DirectX surfaces in Windows, and compile (see the Wiki for a link back to VOGONS on this), OR
- Use the SDL.DLL from the latest official DOSBox binary release, OR
- Use the latest official SDL.DLL from libsdl.org

The problem with stock builds of SDL.DLL is that they have some code disabled that allows hardware DirectX surfaces to be used by DOSBox. The DOSBox devs enable this code when building the SDL.DLL that they include with DOSBox.