Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

error LNK2019

mbehzad
Beginner
381 Views
I am going to compile a code on 64-bit windows system by IVF 11.0.0 and I got the following error in linking. Note that I don't have any problem with compiling on the 32-bit system.
"k3prep.obj : error LNK2019: unresolved external symbol GMOVA2 referenced in function DRV"
"k3prep.obj : error LNK2019: unresolved external symbol GLINA2 referenced in function DRV"
I am wondering if anyone could give me a help on that.
Thanks
0 Kudos
2 Replies
TimP
Honored Contributor III
381 Views
Assuming those routines are present in your source, the first thing to look for is compile errors there.
0 Kudos
Steven_L_Intel1
Employee
381 Views
Another possibility is that you have not recompiled the routines GMOVA2 and GLINA2 with the 64-bit compiler. If the linker sees 32-bit objects or libraries for those routines, you'll see exactly this error.
0 Kudos
Reply