Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28602 Discussions

RC.exe not found in VS2022 when updating oneapi

PGC
Beginner
184 Views

Upgraded oneapi to 2024.2 and started getting "RC.exe not found" in VS2022 when compiling a simple fortran program. Had to add C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64 to the path for Executables and Libraries.

I had to do this because the Windows Kits are installed in C:\Program Files (x86) while the variable (UniversalCRTSdkDir) points to C:\Program Files.

How is the variable UniversalCRTSdkDir normally set?

Is there a more elegant way to fix this problem?

 

PGC_1-1720572202096.png

 

0 Kudos
2 Replies
Devorah_H_Intel
Moderator
81 Views

Did you try to reinstall or repair VS?

0 Kudos
PGC
Beginner
63 Views

Yes. I uninstalled both VS and oneAPI and then installed following this procedure:

https://www.intel.com/content/www/us/en/developer/articles/guide/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers.html

 

Do you know what sets the variable UniversalCRTSdkDir? Can it be modified during the installation or afterwords?

0 Kudos
Reply