Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

C++ DLL linking a fortran lib under x64

$
0
0

Hi,

I am working on converting some working 32bits code to x64. I got the Fortran library to compile / link correctly but when I try to link the C++ part, I am getting some unresoved externals within Fortran files. Here are a few examples:

1>EngLF-Lib.lib(lf82.obj) : error LNK2001: unresolved external symbol for_rewind

1>EngLF-Lib.lib(LIRCOD.obj) : error LNK2001: unresolved external symbol for_read_seq_fmt

1>EngLF-Lib.lib(CLBAR.obj) : error LNK2001: unresolved external symbol for_cpstr

1>EngLF-Lib.lib(STARTM.obj) : error LNK2001: unresolved external symbol for_cpystr

1>EngLF-Lib.lib(nrs3.obj) : error LNK2001: unresolved external symbol for_open

Note that in my Fortran project; the only things I changed are the target platform (x64) and the default integer size.

Thank you for your help

Philippe

 

 

 

 


Viewing all articles
Browse latest Browse all 5691


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>