title: Visual Studio fatal error C1084: Cannot read include file: 'c:\program files (x86)\microsoft visual studio 10.0\vc\include\map': Permission denied
body: <p>Having some problems with Visual C++ express 2010 and getting the same thing with Visual Studio 2010.</p>
  
  <p>I get this error on compilation:</p>
  
  <p>fatal error C1084: Cannot read include file: 'c:\program files (x86)\microsoft visual studio 10.0\vc\include\map': Permission denied</p>
  
  <p>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 ?</p>
  
  <p>Advice would be much appreciated.</p>
  
  <p>EDIT:</p>
  
  <p>It seems this problem only occurs when I include any openCV header file. It was all working before, why not now?</p>
  
  <p>EDIT2:</p>
  
  <p>the problem occurs on a hello world example if I #include map</p>
  
  <p>EDIT3:</p>
  
  <p>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.</p>