link fatal errorr C1083: 无法打开包括文件:“mbctype.h”

当前位置: >
> fatal error C1083: 无法打开包括文件:“atlapp.h”: No such file or directory 的解决办法
fatal error C1083: 无法打开包括文件:“atlapp.h”: No such file or directory 的解决办法
noobman & at
fatal error C1083: 无法打开包括文件:“atlapp.h”: No such file or directory 的解决方法  今天下载了一份源码,代码是使用WTL实现的,结果编译出现了这样的错误:fatal error C1083: 无法打开包括文件:“atlapp.h”: No such file or directory。原来是需要WTL库及头文件的支持,按如下的步骤就可以解决问题:
  1、下载WTL 8.0包,解压缩到目录:C:\Program Files\Microsoft Visual Studio 9.0\WTL8.0。WTL 8.0的参考下载地址:点击打开链接
  2、在Visual Studio里选择菜单&工具&-$>$选项&-$>$项目和解决方案&-$>$VC++ 目录&--》包含文件(include files),增加包含文件路径:C:\Program Files\Microsoft Visual Studio9.0\WTL8.0\include,如下所示:
本问题标题:
本问题地址:
温馨提示:本问题已经关闭,不能解答。
暂无合适的专家
&&&&&&&&&&&&&&&
希赛网 版权所有 & &&&&湘教QS2-164&&增值电信业务经营许可证湘B2-fatal error C1083: 无法打开包括文件:“streams.h”
[问题点数:40分,结帖人dan_teng]
fatal error C1083: 无法打开包括文件:“streams.h”
[问题点数:40分,结帖人dan_teng]
不显示删除回复
显示所有回复
显示星级回复
显示得分回复
只显示楼主
相关帖子推荐:
2011年 总版技术专家分年内排行榜第三2010年 总版技术专家分年内排行榜第三
2012年 总版技术专家分年内排行榜第五
2014年5月 VC/MFC大版内专家分月排行榜第二2014年3月 VC/MFC大版内专家分月排行榜第二2013年10月 VB大版内专家分月排行榜第二2013年7月 VB大版内专家分月排行榜第二2012年5月 VB大版内专家分月排行榜第二2012年4月 VB大版内专家分月排行榜第二2012年2月 VB大版内专家分月排行榜第二2011年11月 VB大版内专家分月排行榜第二
2015年2月 VC/MFC大版内专家分月排行榜第三2014年1月 VC/MFC大版内专家分月排行榜第三2012年3月 VB大版内专家分月排行榜第三2011年12月 VB大版内专家分月排行榜第三2011年10月 VB大版内专家分月排行榜第三
2014年5月 VC/MFC大版内专家分月排行榜第二2014年3月 VC/MFC大版内专家分月排行榜第二2013年10月 VB大版内专家分月排行榜第二2013年7月 VB大版内专家分月排行榜第二2012年5月 VB大版内专家分月排行榜第二2012年4月 VB大版内专家分月排行榜第二2012年2月 VB大版内专家分月排行榜第二2011年11月 VB大版内专家分月排行榜第二
2015年2月 VC/MFC大版内专家分月排行榜第三2014年1月 VC/MFC大版内专家分月排行榜第三2012年3月 VB大版内专家分月排行榜第三2011年12月 VB大版内专家分月排行榜第三2011年10月 VB大版内专家分月排行榜第三
2015年4月 VC/MFC大版内专家分月排行榜第三2012年8月 VC/MFC大版内专家分月排行榜第三
2012年4月 VC/MFC大版内专家分月排行榜第一
2012年5月 VC/MFC大版内专家分月排行榜第二2012年3月 VC/MFC大版内专家分月排行榜第二2011年7月 VC/MFC大版内专家分月排行榜第二2011年1月 VC/MFC大版内专家分月排行榜第二2010年12月 VC/MFC大版内专家分月排行榜第二2010年9月 VC/MFC大版内专家分月排行榜第二2010年6月 VC/MFC大版内专家分月排行榜第二2010年5月 VC/MFC大版内专家分月排行榜第二2010年4月 VC/MFC大版内专家分月排行榜第二
匿名用户不能发表回复!|
每天回帖即可获得10分可用分!小技巧:
你还可以输入10000个字符
(Ctrl+Enter)
请遵守CSDN,不得违反国家法律法规。
转载文章请注明出自“CSDN(www.csdn.net)”。如是商业用途请联系原作者。fatal error C1083: 无法打开包括文件:&SDKDDKVer.h&-dp
& &&原因:出现这个bug的原因是VS2012中关于Windows SDK的路径宏定义和VS2010不同。VS2010中定义包含目录的宏为$(WindowsSdkDir)include,指向的目录是C:\Program Files (x86)\Windows Kits\8.0\Include。而搜索到SDKDDKVer.h文件在C:\Program Files(x86)\Windows Kits\8.0\Include\shared路径下。所以这里应更正为使用VS2012中新的宏定义$(WindowsSDK_IncludePath)。该宏包括了三个路径:
& & C:\Program Files (x86)\Windows Kits\8.0\Include\um
& & C:\Program Files (x86)\Windows Kits\8.0\Include\shared
& & C:\Program Files (x86)\Windows Kits\8.0\Include\winrt
& & 类似还需要更改的是关于库目录的宏定义,VS2010下的$(WindowsSdkDir)lib指向为C:\Program Files (x86)\Windows Kits\8.0\Lib,需要更改为
& & C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86
& & 那如何更改VS2012的配置环境,使得这个宏生效呢?
&&& 解决方法:修改工程--&属性--&配置属性--&VC++目录--&&包含目录&和&库目录&。
同步自网易博客8746人阅读
http://www./Blog/post//Kinect-SkeletalViewer-Cannot-open-include-file-SDKDDKVerh-No-such-file-or-directory.aspx
The solution is 3 easy steps...
While evaluating C++ development for the Kinect (for my
project) I ran into issues compiling the newly installed project from the Sample (on a fresh install of Windows 8 and Visual Studio 2011).&& In the end I found that &the juice wasn't worth the squeeze&; the C# demos performed
just as well as the C++ demos&(in the same task that will meet my concerns)&with a fraction of the coding (and learning curve).&&
a solution wasn't productive - I am a C# developer (with no understanding of the C++ environment)
trying to compile a project under Windows 8 using Visual Studio 2011.& I learned early that&when you live&on the bleeding edge that sometimes you&have to bleed, I was hemorrhaging.
I did however find an excellent clue within the &bug reported on the Microsoft site.& There was enough information to let me know that I required a &Windows Kits& folder (WindowsSdkDir) which will hold the SDKDDKVer.h.&& Long story short the
Bing trail took me to the following:
Windows Driver Kit (WDK) 8 Consumer Preview: &
Step #1 -&Download and install this development kit,&I wasn't trying to create Windows Drivers, however I felt it was safe to assume it would have everything Windows Drivers developers required to compile their C++ applications.&& The assumption
after&I installed it, along with&the Windows Driver Frameworks (WDF) Co-Installers it will recommend that you install, the folders were now available!
But I was still not compiling!& I went back to bug report and like Jennifer I did not have the required &/shared& folder in the
Include directories path (which she manually added).& HOWEVER, I did note a checkbox setting
[ ] inherit from parent or project defaults&as I stumbled around trying to find &HOW&&includes worked in this&environment&(using the following steps):
Step #2 - comply with the following steps
Right click on SkeletalViewer ProjectSelect PropertiesOpen Configuration Properties (ref SkeletalViewer Property Pages in image below)Selected VC++ Directories (not shown in image)Select Include Directories&(shown in image below)Click the dropdown box (down arrow icon) that will appear to right of input fieldSelect Edit (you will see Include Directories windows shown in image below)Click the Macros button and scroll down to the WindowsSDK_Include path (shown below)
I saw how the $(WindowsSDK_includePath), included with &Inherited values&, contained my
/Shared folder!!!
I clicked the Checkbox Inherit from parent or project defaults,
exited all windows applying updates as applicable.&
I Hit compile and &I got another error - this time for a .lib file (can't recall what it was).&
Step #3 - I followed the same steps from 5 on for the
Library Directories path.
I Hit compile and Walla!& I can compile and run the KinectViewer application!&
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:172344次
积分:2565
积分:2565
排名:第6779名
原创:55篇
转载:161篇
评论:19条
Skype :goodhtml
个人网站:
(2)(1)(1)(6)(2)(3)(3)(2)(1)(2)(1)(1)(1)(4)(6)(2)(6)(5)(1)(12)(7)(2)(1)(9)(10)(3)(2)(3)(2)(8)(1)(3)(1)(28)(17)(4)(3)(2)(5)(1)(21)(11)(8)(3)

我要回帖

更多关于 link fatal error 的文章

 

随机推荐