- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compiling...
main.cpp
Linking...
isortstatic.lib(isort.obj) : error LNK2019: unresolved external symbol _for_emit_diagnostic referenced in function _ISORT
Debug/usoCisortstatic.exe : fatal error LNK1120: 1 unresolved externals
I have read in IVF8 User guide that <
I have used this calling extern "C" void ISORT(int * ia, int * n, int * iperm);
Onlydll version is working fine.
thank you, Guido
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by sblionel on 05-18-2004 09:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your comment.
I have just tried to insert in Properties->Linker->Additional Library directory the path "C:ProgrammiIntelFortrancompiler80IA32LIB".
But the compiler 's answer is the same:
isortstatic.lib(isort.obj) : error LNK2019: unresolved external symbol _for_emit_diagnostic referenced in function _ISORT
Debug/usoCisortstatic.exe : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1104: cannot open file 'libirc.lib'
Then I added tis last lib but I gotmany errors such:
Linking...
libifcore.lib(for_get.obj) : error LNK2019: unresolved external symbol __qw32used referenced in function _for__get_su
libifcore.lib(for_exit.obj) : error LNK2001: unresolved external symbol __qw32used
libifcore.lib(for_close_proc.obj) : error LNK2019: unresolved external symbol __qw32used referenced in function _for__close_proc
libifcore.lib(for_m_qwin.obj) : error LNK2019: unresolved external symbol __qw32used referenced in function __unit2handle
For checking my problems I attach the projects: static fortran lib, use of static fortran link from fortran (OK), use of static fortran lib from c++.
Thank you again,
Guido
Message Edited by guido.lombardi@polito.it on 05-18-2004 06:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, let's try it this way.
In the Fortran project, right click on the project, select Properties, Fortran, Libraries. Change "Disable default library Search Rules" to "No".
In Tools..Options..Projects..VC++ Directories..Library Files, add the path to the Fortran IA32LIB folder I mentioned above.
Rebuild the Fortran project and then the C project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for the solution! I 'd like to ask you few details on this operation.
In Tools..Options..Projects..VC++ Directories..Library Files, add the path to the Fortran IA32LIB folder I mentioned above.
This is a "permanent" modification to VS.net envaironment because it is a project's option: Is this additctional path influencing the normal functionalities of VS.NET?
Thank you again,
Guido
- 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
Final question:
why does it fail to insert in project property Properties->Linker->Additional Library the directory "C:ProgrammiIntelFortrancompiler80IA32LIB" instead of Tools..Options..Projects..VC++ Directories..Library Files?
Is this a VS.NET bug?
thank you again for your useful support,
Guido
- 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
Greatidea! New details on the user guide will be very useful,
bye,
Guido

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