[英]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.