First post, by videogamer555
Instructions at http://www.dosbox.com/wiki/Building_DOSBox_wi … _C_2008_Express are for building with 2008 not 2010.
Most of the steps for 2010 are exactly the same as the tutorial's steps for 20008. There's a slight difference in one of the steps, but figuring out the equivalent thing to do in 2010 wasn't too hard.
But now here comes the problem. I have everything set up. Dependencies, directories, absolutely everything configured as needed for building.
But not everything compiles as it should. Below is a list of errors I got.
1>c:\users\MYNAME\documents\visual studio 2010\projects\dosbox-0.74\src\cpu\core_dyn_x86\risc_x86.h(111): warning C4731: 'gen_ru […]
1>c:\users\MYNAME\documents\visual studio 2010\projects\dosbox-0.74\src\cpu\core_dyn_x86\risc_x86.h(111): warning C4731: 'gen_runcode' : frame pointer register 'ebp' modified by inline assembly code
1>..\src\gui\sdlmain.cpp(1892): warning C4297: 'SDL_main' : function assumed not to throw an exception but does
1> __declspec(nothrow) or throw() was specified on the function
1>..\src\gui\sdlmain.cpp(1892): warning C4297: 'SDL_main' : function assumed not to throw an exception but does
1> __declspec(nothrow) or throw() was specified on the function
1>LINK : fatal error LNK1181: cannot open input file 'sdlmain.lib'
I'm not sure, but I'm guessing that there's some stuff going on "behind the scenes" when C++2010 compiles, that's not quite the same as when C++2008 compiles. Can somebody here give me a hand with this? I plan to implement some of the features I've been complaining are missing from the official version, but first I need to be able to build a "vanilla" copy, before I can even BEGIN to consider modding the code.