开发者

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.

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

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. It was all working before, why not now?

EDIT2:

the problem occurs on a hello world example if I #include map

EDIT3:

went into university and tried it, it works on these machines, seems the problem is specific to my 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. It must have been corrupted somehow.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜