简体   繁体   English

Visual Studio致命错误C1084:无法读取包含文件:'c:\\ program files(x86)\\ microsoft visual studio 10.0 \\ vc \\ include \\ map':权限被拒绝

[英]Visual Studio fatal error C1084: Cannot read include file: 'c:\program files (x86)\microsoft visual studio 10.0\vc\include\map': Permission denied

Having some problems with Visual C++ express 2010 and getting the same thing with Visual Studio 2010. Visual C ++ express 2010遇到一些问题,而Visual Studio 2010遇到了同样的问题。

I get this error on compilation: 我在编译时收到此错误:

fatal error C1084: Cannot read include file: 'c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\map': Permission denied 严重错误C1084:无法读取包含文件:'c:\\ program files(x86)\\ microsoft visual studio 10.0 \\ vc \\ include \\ map':权限被拒绝

What's odd is this was compiling yesterday, I closed it and went to bed, came back to it this morning and it doesn't compile. 奇怪的是,这是昨天编译的,我关闭了它,上床睡觉,今天早上回到它,它没有编译。 I haven't changed anything, what happened ? 我什么都没改变,怎么了?

Advice would be much appreciated. 建议将不胜感激。

EDIT: 编辑:

It seems this problem only occurs when I include any openCV header file. 似乎仅当我包含任何openCV头文件时,才会出现此问题。 It was all working before, why not now? 以前一切正常,为什么现在不行呢?

EDIT2: EDIT2:

the problem occurs on a hello world example if I #include map 如果我#include地图,则该问题出现在一个hello world示例中

EDIT3: EDIT3:

went into university and tried it, it works on these machines, seems the problem is specific to my PC. 上大学并尝试过,它可以在这些机器上运行,似乎问题是我的PC特有的。 All I can think of is that the file got corrupted somehow. 我所能想到的就是文件以某种方式损坏了。

I copied the "map" file from another machine into my c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\ and now it all works. 我将另一台计算机上的“地图”文件复制到了我的c:\\ program文件(x86)\\ microsoft visual studio 10.0 \\ vc \\ include \\中,现在一切正常。 It must have been corrupted somehow. 它一定已经损坏了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 1 IntelliSense:预期为')'c:\\程序文件(x86)\\ Microsoft Visual Studio 10.0 \\ vc \\ include \\ crtdefs.h 551 13-构建时出现Visual Studio错误 - 1 IntelliSense: expected a ')' c:\program files (x86)\microsoft visual studio 10.0\vc\include\crtdefs.h 551 13 - Visual Studio Error while building 我在笔记本电脑上找不到文件夹C:\\ Program Files(x86)\\ Microsoft Visual Studio 14.0 \\ VC \\ include \\ gl。 如何添加? - I cannot find the folder C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\gl on my laptop. How do I add it? Microsoft Visual Studio Community 2019:致命错误 C1083:无法打开包含文件:'corecrt.h':没有这样的文件或目录 - Microsoft Visual Studio Community 2019: fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 如何使用Visual Studio解决“严重错误C1083:无法打开包含文件” - How to fix “fatal error C1083: Cannot open include file” using Visual Studio Visual Studio 2010无法打开VC ++包含文件 - Visual Studio 2010 Cannot Open VC++ Include Files Visual Studio 2013:致命错误C1083:无法打开包含文件:'winsock2.h':没有此类文件或目录 - Visual Studio 2013: fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory 在 Microsoft Visual Studio 的 x86 C++ 应用程序中集成犰狳 - Integration of Armadillo in x86 C++ Application in Microsoft Visual Studio 编译C ++程序时在Visual Studio代码中包含错误 - Include error in visual studio code while compiling a C++ program Visual Studio包含文件调用错误-C ++ - Visual Studio include files calling error - C++ 'CObject :: CObject':无法访问在'CObject'd:\\ Program Files \\ Microsoft Visual Studio 9.0 \\ vc \\ atlmfc \\ include \\ afxcoll.h中声明的私有成员 - 'CObject::CObject' : cannot access private member declared in class 'CObject'd:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxcoll.h
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM