收起
参考以下,是不是这个问题
cannot open include file 'afxres.h'错误的一种解决方法_wengkevin的专栏-CSDN博客
或者这个
error RC1015: cannot open include file 'afxres.h'. 的解决办法_duiwangxiaomi的博客-CSDN博客
错误产生原因不止一种,不确定你具体是哪一种,试试看把
报告相同问题?