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

Visual Fortran - LINKER ERROR : "... error LNK2019 ..." or "... error LNK2001 ..."

maxlox
Beginner
795 Views

Hi,

I've upgrade to a new pc with win7 and I've installed my (old) Visual Studio .NET 2003 with Intel Fortran compiler 10.1.xx.

I've copied a source program that compiled on the old computer (dell with windows xp) work fine.

On new pc I've obtained the next problems:

<<

------ Inizio generazione: Progetto: feap75r3, Configurazione: Release Win32 ------

Linking...

pwopn.obj : error LNK2019: riferimento al simbolo esterno ___intel_f2int non risolto nella funzione _PWOPN

pltdos.obj : error LNK2019: riferimento al simbolo esterno ___intel_f2int non risolto nella funzione _VTXWIN

pfullscr.obj : error LNK2019: riferimento al simbolo esterno ___intel_f2int non risolto nella funzione _PFULLSCR

ctied2d.obj : error LNK2001: simbolo esterno ___intel_f2int non risolto

cstif1.obj : error LNK2001: simbolo esterno ___intel_f2int non risolto

cptpnd.obj : error LNK2019: riferimento al simbolo esterno ___intel_f2int non risolto nella funzione _CPTPND

..... AND MORE OF SIMILAR -- OMISSIS --

modl1u.obj : error LNK2001: simbolo esterno ___intel_f2int non risolto

mnrv3f.obj : error LNK2019: riferimento al simbolo esterno ___intel_f2int non risolto nella funzione _MNRV3F

Release\\feap75r3.exe : fatal error LNK1120: 1 esterni non risolti

Build log written to "file://C:\\feap\\ver75t\\prog_set2009\\feap75r3\\Release\\BuildLog.htm"

feap75r3 - 228 error(s), 0 warning(s)

---------------------- Operazione completata ----------------------

Generazione: 0 completate, 1 non riuscite, 0 ignorate

>>

what's: ___intel_f2int

can someone help me?

thanks

0 Kudos
3 Replies
Steven_L_Intel1
Employee
795 Views
___intel_f2int is a routine in the Intel Fortran run-time library. Which compiler version was installed on the old PC? Try doing a Build > Rebuild of the project and see if that helps. It may be that you compiled with a newer version than 10.1.
0 Kudos
maxlox
Beginner
795 Views

on my old pc was installed together9.1 [IA-32] and 10.1.021 [IA-32].

however you've solved my problem, thank's:

<<

------ Inizio rigenerazione: Progetto: feap75r3, Configurazione: Release Win32 ------

Deleting intermediate files and output files for project 'feap75r3', configuration 'Release|Win32'.

Compiling with Intel Fortran Compiler 9.1 [IA-32]...

paddv.f

pacau.f

....

pfullscr.f

intrpt.f

Linking...

Build log written to "file://C:\feap\ver75t\prog_set2009\feap75r3\Release\BuildLog.htm"

feap75r3 - 0 error(s), 8 warning(s)

---------------------- Operazione completata ----------------------

Rigenerazione: 1 completate, 0 non riuscite, 0 ignorate

>>

I'veonequestion:

in the output window I see (up) that the compiling phase is doing still with the older version! i mustremove the older version 9.1 to compile with new the 10.1.021?

thanks

0 Kudos
Steven_L_Intel1
Employee
795 Views

Tools > Options > Intel Visual Fortran. There you can select which compiler to use. In 10.1, you had to change this manually when you installed a new version. In the current version, you don't.

You said you installed 10.1 on the new PC but you actually installed 9.1, it would seem. Maybe you also installed 10.1.

0 Kudos
Reply