I have been encountering a strange error for some time in Visual Studio 2010.
I have a solution consisting of a project that compiles into a static library, and another project that is really simple, but depends on this library.
Sometimes, in recent days, very often, after restoring a solution or just compiling it with 1-3 modified source files, I get the following error:
2>LINK : fatal error LNK1181: cannot open input file 'thelibrary.lib' ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
Where the compilation of thelibrary.lib was successful without any errors or warnings.
I tried to clear the solution, but this does not always work.
c ++ compiler-construction visual-studio
Komn Jun 23 2018-11-11T00: 00Z
source share