Hello,
due to migration to Windows 7 by our IT department, I had to switch from VC++ 6.0 and Compaq Visual Fortan to Visual Studio 2010 with Microsoft Visual Cüü 2010 and Intel Visual Fortran Composer XE 2013.
Trying to recompile the existing mixed language project I solved all issues except one.
When linking the project I get this error message:
Fehler 1 error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_DORN2ZSDT@268" in Funktion "_main".
I assume than in the header file which declares the FORTRAN subroutine DORN2ZSDT to C++ I use the wrong name. When I used the old set of compilers I had to declare
the subroutine this way:
extern "C" { void __stdcall DORN2ZSDT ( ................. ); }
In the FORTRAN source the subroutine looks like this:
subroutine dorn2zsdt ( .....................)
Since I allway had to compile this project for different platforms (Windows and Linux) with different compilers I know the the different compilers use different naming conventions for the compiled objects and wrote my headers with conditional compilation directives in respect to this. For instance for the NAGWare Fortran compilers objects I have to use this declaration in the header:
extern "C" { void dorn2zsdt_ ( ..... );}
Now my problem is that I simply cannot find out which naming convention the Intel Visual Fortran Composer XE 2013 uses.
Can someone tell me the naming convetion or how to solve this linker error in another way.
Kind regards
Stefan