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

Paralle studio VS2010 LNK1120: 1 unresolved externals

raoelite
Débutant
1 100 Visites
I got when i was bulidning my rpject this error can u please tell me how to fix it..
0 Compliments
7 Réponses
TimP
Contributeur émérite III
1 100 Visites
Can't be answered without the information which should be in the build log
0 Compliments
raoelite
Débutant
1 100 Visites
Means what..can u explain in while i am builind it says like this..
0 Compliments
raoelite
Débutant
1 100 Visites
while i am bulinding my fortran file..it says like this...
0 Compliments
raoelite
Débutant
1 100 Visites
>------ 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 Compliments
JohnNichols
Précieux contributeur III
1 100 Visites
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 Compliments
Steven_L_Intel1
Employé
1 100 Visites
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 Compliments
mecej4
Contributeur émérite III
1 100 Visites
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 Compliments
Répondre