- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. I made static 'test.lib' using Intel Fortran.
2. I linked 'test.lib' from MS Visual C++.
It was OK if I make 'test.lib' using 9.1, but when I tried to link 'test.lib' made using 10.00, I got following error.
test.lib(test.obj) : error LNK2001: unresolved external symbol ___intel_f2int
How can I resolve this?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to update the library paths for VC++ to reference the ifort 10.0 libraries instead of 9.1. Tools..Options..Projects..VC++ Directories..Library Files.
Note that at present you will have to revise this each time you install an update to 10.0 as the folder name will change.
Note that at present you will have to revise this each time you install an update to 10.0 as the folder name will change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
But, could you explain in detail? I added new line as you suggested as,
$(ProgramFiles)IntelCompilerFortran10.0.026IA32Lib
at Tools->Options->Projects and Solutions->Libray files. But I got same error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not in the habit of using the $ macros - are you sure that one works? Make sure you don't also have the 9.1 folder in this list.
The other thing you can do is set the linker "verbose" option in the linker property page. This will tell you which libraries it is searching.
The other thing you can do is set the linker "verbose" option in the linker property page. This will tell you which libraries it is searching.

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