I'm upgrading Windows build machines to use
- Visual Studio 2015 Update 3
- scons 2.5.0
- msbuild 14.0.25420.1
from
- Visual Studio 2013 Update 4
- scons 2.3.4
- msbuild 12.0.31101
But I'm hitting a build error. During the 'initial' run the build fails due to
cl : Command line error D8022 : cannot open'c:\users\admini~1\appdata\local\temp\tmpjbx8xe.lnk'
There can be several such errors. If I try to find the files I notice that they don't exist.
If I re-run the build it passes.
Has anyone else come across this issue? Is there a solution?
FYI: The build is run in parallel on 20 core machines. Potentially this could cause a timing condition. But it was fine for the previous setup.
Update: After further investigation this looks like it could be a SCons problem. SCons seems to create the .lnk files. It stores the link command line in these files and get cl to execute them via
cl @c:\users\admini~1\appdata\local\temp\tmpjbx8xe.lnk