So, after opening the solution file in Visual C++ 2010 express there are 106 errors stopping it from compiling. The editor doesn't run in Visual C# express either. The working directory doesn't exist, apparently.
This time working in Visual Studio Express 2012 I followed all of the instructions from the readme, this time compiling with 109 errors. On inspection, it seems that all of the errors belong to one of two types. The first:
error C2061: syntax error : identifier '__RPC__out_xcount_part' is undefined.
The others are all syntax errors resulting from missing close parentheses, which I'm guessing are caused by the identifier.
Are you compiling for windows 8? I haven't tested the engine for Windows 8 myself but other members in this forum was able to successfully compile the code i think.
Doing a quick search on that error seems to point to a version conflict of DirectX or the Windows SDK.
Try these steps if this works.
* If you are manually including DirectX in Visual Studio's include list make sure that the order is somewhere below and the Windows SDK's include folder is on the top. (I think the DirectX sdk is not necessary for Windows 8 anymore. It comes with the Windows SDK)
* Remove any old version of DirectX that you might have installled,
*Uninstall older versions of visual studio including the new one then install the new Visual Studio again.
I'm on Windows 7. It turns out I had the March 2008 DirectX, despite having installed for the first time (that I can remember) yesterday. I've uninstalled and now am installing the June 2010 version. We'll see how it goes.
Edit: I was able to run the game. Huzzah! I had to replace one #include "afxres.h" with #include <windows.h> but after that the game runs. It's weird, though, because in the Exit Game dialog box, the message does not print across multiple lines. The escape sequences are drawing on the same line as everything else, like this: "Are you sure\n you want\n to quit?"
Newbie here. I just purchased the book. Very pleased as I am starting to read it.
The problem is that I have VS2012 and Windows 8, and it is being troublesome to get the source code to run. I followed the instructions, but no results.
Could anyone please show the steps required to get it working?
I tried to download the 3rd party libs compiled for Windows 8, but I don't know what to do with those files...