|
This is an old course web page from 2009 |
Old 2009 Course Web: Main / FAQFAQ for C++/VS08 December 9,2009 by gleicher (link) There is a seperate FAQ for the GraphicsTown Project at Main.GrTownFAQ This page is just starting up, so there's not much here yet. But we'll add to it as we get more FAQ's. Linking Fatal ErrorQuestion: I sometimes get the error 1>LINK : fatal error LNK1105: cannot close file 'U:\Visual Studio 2008\Projects\...someFile' ''' The code builds fine if I close Visual Studio and reopen it, but if I try to rebuild in a single session it will give me that error and then non-deterministically hang up (sometimes a ctrl-break will stop the build, other times it won't). Why does this happen / what can I do about it? Answer: the problem is that you are building to a directory on AFS (I can tell since its the "U" drive) in general, you don't want to compile to directories across the network. not only are there performance issues, and there are wierd file-locking issues as well. my suggestion: work to a temporary directory on the local disk, just be sure to copy you source files back to AFS when you're done |