C1083 : Permission denied on .sbr files

Posted by speps on Stack Overflow See other posts from Stack Overflow or by speps
Published on 2009-08-04T09:51:52Z Indexed on 2010/03/23 6:03 UTC
Read the original article Hit count: 326

Filed under:

Hello,

I am using Visual Studio 2005 (with SP1) and I am getting weird errors concerning .sbr files. These files, as I read on MSDN, are intermediate files for BSCMAKE to generate a .bsc file.

The errors I get are, for example (on different builds) :

11>string.cpp : fatal error C1083: Impossible d'ouvrir le fichier généré(e) par le compilateur : '.\debug\String.sbr' : Permission denied
58>type.cpp : fatal error C1083: Impossible d'ouvrir le fichier généré(e) par le compilateur : '.\Debug/Type.sbr' : Permission denied

Translation : cannot open compiler intermediate file

It seems to be consistent (I have at least 5 or 6 examples like this) with a .cpp file being compiled twice in the same project, respectively :

11>String.cpp
*some warnings, 2 lines*
11>String.cpp
58>Type.cpp
*some warnings and other files compiled, a lot of lines*
58>Type.cpp

I already checked the .vcproj files for duplicate entries and it does not seem to be the problem.

I would appreciate any help regarding this issue. Deactivating the build of .bsc files seems to be a workaround but maybe someone has better information than this. Thanks.

© Stack Overflow or respective owner

Related posts about visual-studio-2005