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.

相关推荐
不懂的浪漫29 分钟前
Claude HUD 在 Windows 下不显示的修复记录
windows·claude
Cocktail_py1 小时前
Windows直接部署crawlab
windows·python·golang
John_ToDebug1 小时前
深入解析 Chrome 渲染进程合并优化策略:以 desktop_view 为例
c++·chrome·windows
fundoit1 小时前
Windows 下 PyTorch 环境搭建指南
人工智能·pytorch·windows
CaracalTiger2 小时前
Windows 环境下 OpenClaw 的安装与千问Qwen、Kimi、MiniMax、GLM国产大模型配置完全指南
运维·ide·windows·开源·github·aigc·ai编程
啥咕啦呛2 小时前
java打卡学习2:Stream高级与Optional
java·windows·学习
Blasit2 小时前
Qt 程序打包,运行提示找不到或无法加载平台插件 qwindows.dll
开发语言·windows·qt
C++ 老炮儿的技术栈2 小时前
c++常见配置文件格式 JSON、INI、XML、YAML 它们如何解析
xml·开发语言·c++·windows·qt·json
brucelee1862 小时前
Windows 11 安装 Go(Golang)教程
开发语言·windows·golang
Xiaoweidumpb3 小时前
win10 Windows服务器开放端口防火墙规则 远程控制桌面
运维·服务器·windows