STATUS: Solved[ish]
Problems / Solutions:
Problem: WindowsResources.rc referenced nonexistent include file 'afxres.h'
-Solution: change 'afxres.h' to 'winres.h' (you may need to instead change it to 'mfc\winres.h')
Problem: Installed Windows SDK (Server 2008)
-Solution: roll back to Microsoft Platform SDK (Server 2003)
Problem: C2733: Illegal second linkage in 2 functions in 'winnt.h'
-Solution: add 'volatile' keyword to all args of both functions in 'winnt.h'
Problem: LNK1104: cannot open file verstub.obj
-Solution: verstub.obj was appearing as 'C:\documents.obj' due to lack of quotes, moved to proper directory and renamed.
---- Original Post ----
I have downloaded the source and (more recent versions) of the software required to compile it.
I have:
Visual C++ Express 2010
DirectX SDK (Summer 2004)
Windows SDK (for Server 2008 and others) (in place of Platform SDK)
The build goes well until it gets to 'archutils\Win32\WindowsResources.rc', at which point it fails due to an nonexistent include file 'afxres.h' . I have googled around, and this seems to be a problem with the Platform SDK, but the solutions I found didn't seem applicable to the Windows SDK. Has anyone else managed to do it on VC++ 2010, and did you also run into this issue? Did you manage to fix it?Originally Posted by VC++ 2010 build log
I am currently uninstalling the Windows SDK and downloading and installing the recommended version (Microsoft Platform SDK for Server 2003).




Compiling SVN snapshot (as-is)