Microsoft Platform SDK Core Package
Microsoft .NET Framework Version 1.1 Redistributable Package
Microsoft .NET Framework SDK Version 1.1
When I go through the step-by-step instructions listed elsewhere everything appears to begin compiling but then stops with the following error code ...
Code: Select all
rc.exe /1 0x409 /fo".\Release\EQLib.res" /d "NDEBUG" "EQLib.rc"
EQLib.rs(10) : [b]fatal error RC1015: cannot open include file 'afxres.h'[/b].
NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'I used "Find File" to search my hard drive for afxres.h and did find it in C:\Microsoft SDK\include\Win64\dir-I-can't-remember-at-the-momentOddly enough, VC++ adds afxres.h to resource files even when you aren't using an MFC project, and yet the file may only be installed if you install MFC. This perticular file isn't actually required, so to fix the error you can edit the .rc file in notepad and replace both occurances of "afxres.h" with "winres.h" (note that there should be two of them, and you need to change both).
I added this path to the sdkvars.bat file and re-ran it and then tried again to compile with the same result. I've also tried to relocate the file to my other include path without successfully compiling. I also tried changing the afxres.h references in EQLib.rc to winres.h as suggested in the quote above.
I'm guessing that although the file does exist on my system I don't actually have MFC installed properly. As I've said, I'm a complete stranger to this world. Did I miss an install option somewhere that should have installed MFC? Do I need to download something other than what I've already installed? I've searched Microsoft's site and used Google in general but can't find anything useful about this. Any help would be greatly appreciated.
EDIT: And btw, searching these boards for "afxres.h", "EQLib.rc", "rc.exe", and "RC1015" all come up blank.
