Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Error LNK2001: unresolved external symbol _WinMainCRTStartup

teja5
Beginner
574 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
574 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