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.

相关推荐
学安全的小白1 小时前
VMware安装windows server 2003 R2 教程(图文版)
服务器·windows
不过如此19512 小时前
pyinstaller打包GUI项目实践
windows·python·ui
Vanranrr2 小时前
从图形化到命令行:一次 SVN 工程化能力补齐与流程治理实践(Windows)
windows·svn
神奇椰子3 小时前
Windows远程桌面连接(mstsc)丢失/无法打开的修复指南
windows
高斯的手稿08013 小时前
树莓派上更换镜像源的方法
linux·运维·windows
SunkingYang3 小时前
怎么将VSCode添加到右键菜单
windows·vscode·注册表·删除·添加·右键菜单
我妻礼弥4 小时前
windows 11 配置 UTF-8
windows
唐朝板栗丶TDC4 小时前
Windows下使用WSL2创建Ubuntu子系统(更改安装位置与启动图形桌面)
linux·windows·经验分享·ubuntu
yuzhuanhei5 小时前
Claude code配置MCP(windows)
windows
敲代码的瓦龙6 小时前
Java?泛型!!!
windows·python·microsoft