Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Please help with error LNK2019

$
0
0

 

Hello, I am trying to build and compile a Fortran 77 program in Visual Studio 2013, using Intel Fortran.

The program consists of a main .for file, and many .for and .f subroutines. To run it, I create a new Fortran console project, and load all the .for and .f files. Then, when I try to build, I get the following error:

Error    1     error LNK2019: unresolved external symbol _MAIN__ referenced in function _main    libifcoremdd.lib(for_main.obj)    
Error    2     fatal error LNK1120: 1 unresolved externals    Debug\test.exe    

 

What am I doing wrong?

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>