Okay, so I now tried to compile SDL, at first only SDL_main compiled as the other project in the solution was complaining about missing headers from DirectX, so I installed the SDK. SDL compiled nicely (with one or two warnings). I copied the compiled SDL libs and then tried compiling DosBox, still the same. X.X
I checked the buildlog you attached.
What kind of linker settings do you have ?
You should NOT have things like "Ignore All default libs"
Under "Input" I have
Additional Dependencies: opengl32.lib winmm.lib sdlmain.lib sdl.lib mt32emu.lib $(NOINHERIT)
Ignore all Default Libraries: No
Ignore Specific Library: msvcrt.lib
And the rest of the fields are blank. Anything else you might need to know from linker? ^^;
Not sure why you deleted all libs from the link line,
but you need at least
Shell32.lib
for shGetSpecialFolderPath,
Either restore the normal libs in there, or google all functions that are missing.
I removed the $(NOINHERIT) argument in the linker and now it compiled flawlessly, the only problem is that it's still as slow as my MinGW build and ykhwong's build *sigh*
But regardless, thanks for your assistance bloodbath, Qbix, VileRancour and Dominus ^^
Try it with VC++ 2010, it optimizes better and now you know how it's done.
I tried compiling Munt again with VC++2010 and it says that it's missing some libs, I tried looking for the missing reference and it says it should be in one redistributable package, I dowloaded it and installed and still won't work. I tried to run CMake on Munt again and it seems it cannot do anything since there's a part of VC++ that's missing. I give up since this is really too much of a hassle. I'll compile DosBox again when I'll be able to use Linux distros again.
Regardless, thanks bloodbat for your help 😀