- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have installed Visual Studio 2022 on my new Dell 5690 and then the intel fortran compiler. The compiler works but the linker is causing problems. I always get the error message:intel fortran fatal error LNK1104: File “libucrtd.lib” cannot be opened.
I have searched the internet and got no help. I am a mathematician and not a computer scientist and need an understandable solution.
Thank you all very much....Jo
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you read this? Installing Microsoft Visual Studio* for Use with Intel® Compilers
It looks like you haven't installed the "Desktop development with C++" option, which includes the Universal C RTL (including libucrtd.lib)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mark,
thank you very much for reading my message and for your thoughts. I had installed Desktop development with C++. I can also find the lib under: “C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\ucrt\arm64\libucrtd.lib”.
Apparently the lib is on my computer but VS cannot find it.
Best regards...Jo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jo,
There should also be a libucrtd.lib in the x64 directory under "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\ucrt".
The arm64 one is not suitable for use on Intel processors.
Verify that your directories are set correctly in Tools->Options, mine are:
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't have anything set for $(UCRTVersion).
From a Visual Studio x64 Native Tools Command Prompt check if UCRTVersion is set to something with the set command.
Mine PC has
UCRTVersion=10.0.22621.0
I would expect yours to have
UCRTVersion=10.0.26100.0
If not, try reinstalling the universal C RTLs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mark,
following your suggestion, I uninstalled the C RTLs once and then reinstalled them (downloaded directly from Microsoft) without any change. The compiler still works but not the linker. I get the same error message.
Best wishes...Jo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page