The afxres.h header file typically requires MFC to be installed, but winres.h should be sufficient instead.
@@ -7,7 +7,7 @@
//
// Generated from the TEXTINCLUDE 2 resource.
-#include "afxres.h"
+#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS