Blog 
ROS Dev: managed to recompile an updated 64-bit version of the game engine
Sunday 19th June 2016
I have finally managed to recompile an updated 64-bit version of the game engine, for my game project (the one that I've been working on, on and off for the past 7 years and decided to boot it up again today). - I've been putting it off since the first time I had to compile the engine as it took me about 7-8 weeks to obtain all the library's and get everything working; there was a shit-ton of errors and troubleshooting, but I found the process this time to be relatively easy (also back in 2007 I didn't really know what I was doing).
I still need to port all the "enhancements" and "features" from my fork of the original source code over to the new project executable, (I never bothered to comment anything lol).

Fun fact, while analyzing the engines source code, the only part I got stuck with was a macro definition for DirectX, even the other programmer wrote 'wtf?' in there, see visual studio kept kicking out this error:
1>LINK : fatal error LNK1181: cannot open input file 'dxguid.lib'
1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.EXE"' : return code '0x49d'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(43,5): error MSB3073: The command "nmake /f Makefile.msvc veryclean all DEBUG=1 WINBITS=32 RENDERTYPE=SDL" exited with code 2.
Basically the compiler couldn't find this stupid library: dxguid.lib, even though it wasn't necessary for the game to function (I guess I'd feel there would be something wrong if everything ran smoothly the first time anyway.)
After a quick google search: fix dxguid.DLL errors, lol fuck off.
I don't actually remember what I did to fix it.

Turns out all I needed to do was to download the Microsoft DirectX SDK (June 2010) and install it (which crashed my compiler, and the installer threw out errors like anything with a Microsoft name on it), then point the project file to the lib directory: typical Visual Studio still couldn't find the library file so I eventually copied the thing in to the projects directory. Fucking hell downloading a 1GB file for a pissy 876KB file, and all because the Windows Vista and Windows 7 Platform SDKs include these headers for DirectX, but not for dxguid.lib as this library should not be necessary.
TL;DR
Fuck you Microsoft.
There was also some other bullshit about needing to upgrade to Windows 10 in order for this to work, but I was like lol fuck off.
Home | Blog Index | RSS