- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
for one of our program suites I keep getting a bizarre link error, which my colleagues do not experience. The message is:
error LNK2001: unresolved external symbol _for__rtc_uninit_use_src
By the looks of it and from checking the sources (we do not have a routine of that name) I guess that this is a routine that should be in the runtime libraries. So, my question is: how can I solve this?
For your information:
- I am using Visual Studio 2010
- The version of the Intel Fortran compiler is Intel® Parallel Studio XE 2015 Composer Edition for Fortran Windows* Update 1 Integration for Microsoft Visual Studio* 2010, Version 15.0.0115.2010
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This procedure is in the default Intel Fortran library libifcoremt.lib (or libifcoremd.lib for DLL linking). You have not shown how you are building the program. Is this a mixed C-Fortran program? In normal use it would be automatically resolved along with the rest of the run-time library references. Are you perhaps linking to a library from an older version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
well, some of the programs are indeed using a mixture of C (or C++) and Fortran and it seems that there are some references to possibly older compiler versions. I will try and sort these out. I will report back when I have come to some conclusion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the one program in this collection I am interested in at the moment, the problem turned out to be due to an explicit reference to a directory belonging to an older version of the compiler. It was via the IFORT_COMPILER12 variable. I removed that and the program was correctly built. Sometimes solutions are simple indeed.

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