clcache icon indicating copy to clipboard operation
clcache copied to clipboard

Error "Cannot find file at '..\\lib\clcache\clcache\clcache.exe'"

Open Osse opened this issue 6 years ago • 1 comments

I installed clcache via Chocolatey and this is printed when I run it. I've verified that the file actually exists. Running that file prints the same message.

Full message

Cannot find file at '..\\lib\clcache\clcache\clcache.exe' (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\lib\clcache\lib\clcache\clcache\clcache.exe). This usually indicates a missing or moved file.

%CLCACHE_CL% is set to C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl_real.exe which is what I renamed the original cl.exe to.

Osse avatar Jun 07 '19 14:06 Osse

As always I discover something new almost immediately after filing report...

Copying all of C:\ProgramData\chocolatey\lib\clcache\... to C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\lib\clcache\... worked.

Osse avatar Jun 07 '19 14:06 Osse