Hi everybody,
I wanted to port an old game I am working on to Windows using Visual Studio 2013. The build of Allegro 4.4.2 failed with various errors (see forums for examples) which I fixed.
Unfortunately all 64bit builds crashed unless started from the IDE debugger, so I went and tracked the issue down.
Find attached two patches that make Allegegro-4.4.2 be compilable with Visual Studio 2013 (VS12), providing a 64bit version, that works.
Tested:
- Debug / 32bit
- Release / 32bit
- Debug / 64bit
- Release / 64bit
(If anybody wonders how I did that when ddraw.lib has been removed from the DirectX SDK, you do not need it. dxguid.lib, dinput8.lib, dsound.lib and ddraw.lib are all provided in the current Windows SDKs (at least kits 8.0a and 8.1) and can be found under Lib\win8\um\x86 and Lib\win8\um\x64 ;-) Includes are under Include\um )
Committed (with some fixes) as 234ac0ab5b5790ff6d63e0433c89007f491cefde. Thanks!