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

Error LNK2001: unresolved external symbol _WinMainCRTStartup

teja5
Beginner
570 Views

Hi,

I 've moved old code .F90 to dot:net2003 & Intel 8.0 .The program start with:

integer*4

function WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow)

linkerror:

Error LNK2001: unresolved external symbol _WinMainCRTStartup
fatal error LNK1120: 1 unresolved externals

ChangingEntry point in the links panel - did not work.

Any idea what is it wrong?

Thanks

Ted

0 Kudos
1 Reply
Steven_L_Intel1
Employee
570 Views
The error has nothing to do with your code - there's a problem in how you're linking the program in that it is missing some reference to the MSVC libraries. How did you create the project?

Please note that Intel Fortran 8.0 is no longer supported.
0 Kudos
Reply