- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try to reinstall or repair VS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. I uninstalled both VS and oneAPI and then installed following this procedure:
Do you know what sets the variable UniversalCRTSdkDir? Can it be modified during the installation or afterwords?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page