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

Error messages

jfbm
Beginner
221 Views

I already installed Visual Studio 2005 Standard Edition and Intel Visual Fortran Compiler version 9.0 Standard Edition. I also created a project to compile myfortran code.This processdoes not succeed. I ve got two error messages:

  1. error LNK 2005:_ main- already defined.....
  2. fata error LNK 1169: one or more multiply defined symbols found

What are these two errors about? How can I fixed them?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
221 Views
First, I'm puzzled at the version combination since IVF 9.0 does not support VS2005. That support came in IVF 9.1.

Otherwise, the errors suggest that you have two sources that each define the main program. You should remove one of them.
0 Kudos
Reply