MFC libraries are required for this project

1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(497,5): error MSB8041: MFC libraries are required for this project. Install them from the Visual Studio installer (Individual Components tab) for any toolsets and architectures being used.

适用于V143最新生成工具 的C++ MFC(x86和x64)


1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.36.32532\atlmfc\include\afxcmn.inl(400,62): error C2065: 'TVIF_STATEEX': undeclared identifier

1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.36.32532\atlmfc\include\afxcmn.inl(402,62): error C2065: 'TVIF_EXPANDEDIMAGE': undeclared identifier

1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.36.32532\atlmfc\include\afxcmn.inl(402,100): error C2065: 'TVIF_EXPANDEDIMAGE': undeclared identifier

1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.36.32532\atlmfc\include\afxcmn2.inl(270,69): error C2065: 'RB_SETEXTENDEDSTYLE': undeclared identifier

1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.36.32532\atlmfc\include\afxcmn2.inl(272,69): error C2065: 'RB_GETEXTENDEDSTYLE': undeclared identifier


WTL requires ATL which is not included in the Express edition. Atlrx.h normally lives in the $(VCInstallDir)VC\atlmfc\include folder.

相关推荐
小袁搬码34 分钟前
Windows中指定路径安装DockerDesktop
windows·docker·容器·docker desktop
系统之家装机大师9 小时前
Win11 22H2/23H2系统11月可选更新KB5046732发布!
windows·电脑
系统之家装机大师9 小时前
微软发布Win11 24H2系统11月可选更新KB5046740!
windows·电脑
戎梓漩11 小时前
windows下安装curl,并集成到visual studio
ide·windows·visual studio
蓝田~13 小时前
观察者模式和订阅模式
windows·观察者模式
梓仁沐白19 小时前
ubuntu+windows双系统切换后蓝牙设备无法连接
windows·ubuntu
九鼎科技-Leo1 天前
什么是 WPF 中的依赖属性?有什么作用?
windows·c#·.net·wpf
Yang.991 天前
基于Windows系统用C++做一个点名工具
c++·windows·sql·visual studio code·sqlite3
我不瘦但很逗1 天前
Windows下使用DBeaver连接云数据库(MySQL)
数据库·windows
ashane13141 天前
Java list
java·windows·list