cannot open source file “afxwin.h”/“afxext.h”/“afxdisp.h”/“afxdtctl.h”/“afxcmn.h”/afxdisp.h etc

后端 未结 3 1025
无人共我
无人共我 2021-02-20 02:16

I try to ran a previous written MFC c++ code on my visual studio 2015 MFC with multitype MFC library installed.

However, I still have 12 errors here regarding missing f

3条回答
  •  遇见更好的自我
    2021-02-20 02:49

    For VS2019 the above solutions didn't worked for me. I had to go to "Installer -> Individual Components -> " and install the following to solve the issue:

    • "MSVC v141 – VS 2017 C++ x64/x86 build tools (v14.16)"
    • "C++ MFC for v141 build tools (x86 & x64)"
    • "C++ ATL for v141 build tools (x86 & x64)"

提交回复
热议问题