fatal error C1083: 无法打开包含文件:“atlapp.h”:No such file or directory
上网查了一下,说是没有配置第三方WTL库。
WTL是什么呢?
Windows Template Library (WTL) is a C++ library for developing Windows applications and UI components. It extends ATL (Active Template Library) and provides a set of classes for controls, dialogs, frame windows, GDI objects, and more.
该库可以从http://wtl.sourceforge.net/下载。
下载后,解压至C:\WTL81_XXX,然后运行C:\WTL81_XXX\AppWiz\setup90.js
说明:该目录下有很多个js文件,当需要集成到VS2008时,运行setup90.js.其他的环境,估计要去找说明了。
然后在VS2008的VC的编译环境中,Tools->Option->Projects and Solutions ->VC++Directories的右面的Include files中,添加C:\WTL81_9127\Include即可。
本文详细介绍了如何解决在使用VS2008打开并编译VC++程序时遇到的编译错误C1083:无法打开包含文件“atlapp.h”。通过下载和配置Windows Template Library (WTL) 库,可以顺利解决此问题。包括下载、解压、运行设置脚本以及在编译环境中的配置步骤。
832

被折叠的 条评论
为什么被折叠?



