Peter Swinkels wrote:Hi, QBix thanks for the quick reply. I just downloaded dosbox-0.74.tar.gz from the link you provided. I just tried to load and r […]
Show full quote
Hi, QBix thanks for the quick reply. I just downloaded dosbox-0.74.tar.gz from the link you provided. I just tried to load and run it, but:
1. Visual Studio wants to upgrade the project.
2. Apparently the header files (*.h) can't be found and this results in 606 (!) errors.
3. When searching my C: drive using Agent Ransack a lot *.h files are found...
4. Had to install the Windows SDK 8.1.
I am using Microsoft Windows 7 Home Edition 64 bit and Microsoft Visual Studio Community 2017. The latter has support for C++ projects installed so that shouldn't be the problem. I assume I need to manually change a path reference in the project?
Alternatively, you could make your life easier by going here and downloading the complete VS2015/2017 build environment that I put together for exactly this purpose:
A complete Visual Studio 2015/2017 build environment (dosbox & dosbox-lfn)
You'll probably want to update the DOSBox code with the latest SVN changes (the code in my download is only two months old, however), but basically all you need to do is this: open the downloaded folder, double-click the StartVisualStudioProject.cmd file, and, when the project opens in VS2015 or VS2017 (whichever you have installed), choose Build. The exe will be in the Release folder. (Or you can test the build I put into the DOSBox Binaries folder.)
If you prefer to do it by hand, skip the .CMD file and navigate to dosbox\visualc_net, and launch the SLN file.
Tested with VS2015 in Win7-32 and VS2017 in Win10-64. PS: As it says in the other thread, in the download, I've disabled modem, network, and screenshots in config.h, but you can easily re-enable them by editing that file.