Cannot open include file 'afxres.h' in VC2010 Express

后端 未结 8 1817
庸人自扰
庸人自扰 2021-01-30 02:01

I\'m trying to compile an old project using VS express 2010 but I get this error:

fatal error RC1015: cannot open include file \'afxres.h\'. from this cod

8条回答
  •  被撕碎了的回忆
    2021-01-30 02:25

    This header is a part of the MFC Library. VS Express edition doesn't contain MFC. If your project doesn't use MFC you can safely replace afxres.h with windows.h in your terrain2.rc.

提交回复
热议问题