C1083: permission to use .sbr files

I am using Visual Studio 2005 (Service Pack 1) and I am getting strange errors regarding .sbr files. These files, as I read on MSDN, are intermediate files for BSCMAKE to generate a .bsc file.

Errors that I get, for example (in different assemblies):

  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 intermediate compiler file

It seems to be consistent (I have at least 5 or 6 such examples) when the .cpp file is 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 have already checked .vcproj files for duplicate entries, and this does not seem to be a problem.

I would be grateful for any help in solving this problem. Deactivating the .bsc file assembly seems like a workaround, but maybe someone has better information than this. Thanks.

+4
source share
2 answers

Try checking the properties of the sbr file to see only files that are only readable.

0
source

This is probably a conflict between several projects in your solution. A detailed set of possible corrections is given in the VC2008 compiler error response that opens sbr files .

0
source

All Articles