LNK1158 cannot run 'rc.exe'

Viewed 6552

I installed Qt Creator with mingw and msvc2015 binaries. To have the compiler fpr msvc2015 I installed VS 2017 community inkluding support for msvc2015.

However when I try to compile in Qt Creator I get the error

LNK1158 cannot run 'rc.exe'

What went wrong in the installation? Which files do I need to reinstal to fix this?

The PATH in QtCreator contains the folder

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64_x86;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;
C:\Program Files (x86)\Windows Kits\10\bin\x64;
C:\Program Files (x86)\Windows Kits\10\bin\x86;

But the rc.exe is only in

C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64
C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x86
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\...
0 Answers
Related