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.

相关推荐
cpsvps_net13 小时前
美国服务器环境下Windows容器工作负载智能弹性伸缩
windows
甄超锋13 小时前
Java ArrayList的介绍及用法
java·windows·spring boot·python·spring·spring cloud·tomcat
cpsvps15 小时前
美国服务器环境下Windows容器工作负载基于指标的自动扩缩
windows
网硕互联的小客服18 小时前
Apache 如何支持SHTML(SSI)的配置方法
运维·服务器·网络·windows·php
etcix19 小时前
implement copy file content to clipboard on Windows
windows·stm32·单片机
许泽宇的技术分享19 小时前
Windows MCP.Net:基于.NET的Windows桌面自动化MCP服务器深度解析
windows·自动化·.net
非凡ghost20 小时前
AMS PhotoMaster:全方位提升你的照片编辑体验
windows·学习·信息可视化·软件需求
mortimer21 小时前
一次与“顽固”外部程序的艰难交锋:subprocess 调用exe踩坑实录
windows·python·ai编程
gameatp1 天前
从 Windows 到 Linux 服务器的全自动部署教程(免密登录 + 压缩 + 上传 + 启动)
linux·服务器·windows
穷人小水滴1 天前
在 windows 运行 flatpak 应用 (WSL)
linux·windows·ubuntu