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

Static Libraries

gfthomas8
Novice
619 Views
Do CVF static libraries have to resolve _MAIN__ from dformain.obj? I keep hitting the ever popular lnk 2001 because of the _MAIN__ symbol but I can't imagine why it's ever referenced.
0 Kudos
2 Replies
james1
Beginner
619 Views
_MAIN__ is the program entry point. What is the error text? Are you linking something that lacks a PROGRAM statement?

James
0 Kudos
Steven_L_Intel1
Employee
619 Views
Does your static library make any calls to QuickWin routines? If so, you can use it with a QuickWin application only. It's the QuickWin library that references MAIN.

Steve
0 Kudos
Reply