Note that there are some explanatory texts on larger screens.

plurals
  1. POVC2008 compiler errors opening sbr files (C2418 C1903 C2471)
    primarykey
    data
    text
    <p>EDIT: See my answer below for the hotfix.</p> <p>ORIGINAL QUESTION:</p> <p>In setting up for our boat-programming adventure I have to set up source control and fix project files for a team to use them. (the project was previously only being worked on by one person who took shortcuts with setting up the project includes, etc)</p> <p>I am fixing those SLN and Proj files. When trying to do a build on an external USB drive (I have not tried it on the primary hard drive) I am getting odd errors (lots of them for various files):</p> <blockquote> <p>fatal error C1083: Cannot open compiler generated file: '.\Debug\.sbr': Permission denied</p> </blockquote> <p>These files are referenced in the vcproj file with relative paths in double quotes:</p> <blockquote> <p>RelativePath="..\..\Source\.cpp"</p> </blockquote> <p>I get the same errors form within a sln file in the IDE or if I call msbuild with the sln file.</p> <p>The files are kind of "shared" for a few sln files (projects).</p> <p>The person who originally created the SLN files is not known for being a wizard at configuring MSDev or making things work for teams. </p> <p>Is this an issue with the way the source files are referenced? Any suggestions on how to fix these?</p> <p>This URL does not seem to have helpful information:</p> <p><a href="http://msdn.microsoft.com/en-us/library/et4zwx34.aspx" rel="noreferrer">Fatal Error C1083 on MSDN</a></p> <p>Note - there were/are still hardcoded paths in the proj file, but i don;t see them for these files. They were mostly for the include and lib dirs. I think I removed them all.</p> <p>I also get these errors:</p> <blockquote> <p>..\..\Source\.cpp : error C2471: cannot update program database '\debug\vc90.pdb'</p> <p>..\..\Source\.cpp(336) : fatal error C1903: unable to recover from previous error(s); stopping compilation</p> <p>..\..\Source\.cpp(336) : error C2418: cannot delete browser file: .\Debug\.sbr</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload