编译问题C ++ [英] compile problem C++
问题描述
我需要编译一些项目。
我从那里安装Visual C ++ 6.0 + Microsoft Platform SDK 2003
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en #requirements
我也在工具 - >选项 - >目录下添加了SDK路径,并将其移动到顶部。
但我编译时仍然遇到这个错误...
c:\users\admin\downloads \ microsoft visual c ++ 6.0 standard edition\vc98\include\\\
ew(9):致命错误C1083:无法打开包含文件:'exception':没有此类文件或目录
和
c:\users\admin\downloads\microsoft visual c ++ 6.0标准版\vc98\include\ios(9):致命错误C1083:无法打开包含文件:'streambuf':没有此类文件或目录
任何人都有想法?
下载VC6等旧编译器版本的唯一原因你需要重建一个为该精确版本开发的项目。但这个代码显然不是。
Hey guys. I need to compile some project. I installed Visual C++ 6.0 + Microsoft Platform SDK 2003 from there http://www.microsoft.com/downloads/en/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en#requirements
I also added SDK paths under Tools->Options->Directories and moved them to top.
But I am still getting this errors when compiling...
c:\users\admin\downloads\microsoft visual c++ 6.0 standard edition\vc98\include\new(9) : fatal error C1083: Cannot open include file: 'exception': No such file or directory
And
c:\users\admin\downloads\microsoft visual c++ 6.0 standard edition\vc98\include\ios(9) : fatal error C1083: Cannot open include file: 'streambuf': No such file or directory
Anyone got some idea?
The only reason to download an old compiler version like VC6 would be you need to rebuild a project developed for that exact version. But this code clearly isn't.
Try it with the latest Visual C++, which is 2010 as Andre commented.
Note: The Feb 2003 SDK, the last one compatible with VC6, is available on MSDN.
Platform SDK - February 2003 Edition (English) 325 (MB)
File Name: en_platformsdk_win2003.exe
Date Published (UTC): 4/4/2003 9:25:00 PM
Last Updated (UTC): 8/25/2005 9:36:39 PM
SHA1: 33E0434F63EFFC0A04B3401D992AE4478E4C80E7 ISO/CRC: A519A771
Available to Levels: MSDN OS (VL); VS Pro with MSDN Pro (VL); VS Pro with MSDN Premium (Empower); MSDN OS (Retail); Developer AA; VS Pro with MSDN (Retail); MSDN Universal (Retail); VSTS Team Suite (VL); VSTS Architecture (VL); VS Premium with MSDN (MPN); VSTS Test (VL); VS Pro with MSDN Premium (MPN); MSDN Universal (VL); VSTS Database (VL); VS Pro with MSDN Premium (Retail); VSTS Test (Retail); VSTS Development (Retail); VSTS Architecture (Retail); VSTS Team Suite (Retail); VSTS Database (Retail); BizSpark Admin; BizSpark; VS Pro with MSDN Embedded (Retail); VS Pro with MSDN Embedded (VL); VS Test Pro with MSDN (VL); VS Ultimate with MSDN (VL); VS Premium with MSDN (VL); VS Pro with MSDN (VL); VS Test Pro with MSDN (Retail); MSDN Essentials; VS Premium with MSDN (Retail); VS Ultimate with MSDN (Retail); MSDN for Action Pack; VS Ultimate with MSDN (MPN); VS Ultimate with MSDN (NFR FTE);
Platform SDKs have been free for quite a few years now, some links are provided in this thread and seem to still be live.
这篇关于编译问题C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!