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

Paralle studio VS2010 LNK1120: 1 unresolved externals

raoelite
Beginner
651 Views
I got when i was bulidning my rpject this error can u please tell me how to fix it..
0 Kudos
7 Replies
TimP
Honored Contributor III
651 Views
Can't be answered without the information which should be in the build log
0 Kudos
raoelite
Beginner
651 Views
Means what..can u explain in while i am builind it says like this..
0 Kudos
raoelite
Beginner
651 Views
while i am bulinding my fortran file..it says like this...
0 Kudos
raoelite
Beginner
651 Views
>------ Build started: Project: shell, Configuration: Debug Win32 ------
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>.\Debug\shell.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I am getting this error please tell to fix this error...
0 Kudos
JohnNichols
Valued Contributor III
651 Views
I beleive you have not changed the CVF code into Intel code. You need to right click I believe on the Solution explorer listing for the program and select the option to import the CVF code into the IVF format.

I think this is correct.

JMN
0 Kudos
Steven_L_Intel1
Employee
651 Views
That could be - or the wrong project type was selected when creating the project.

If this was a CVF project, please read Migrating from Compaq Visual Fortran.
0 Kudos
mecej4
Honored Contributor III
651 Views
To obtain an answer that is pertinent to your situation you need to give an adequate description of the problem -- with information on the OS and compiler used, the nature of the project, the build log (as TimP already stated), source code to reproduce the problem, if feasible.

Without such information, only speculative answers may be forthcoming, and it would be up to you to discern which, if any, are relevant.
0 Kudos
Reply