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

LINK : fatal error LNK1181: cannot open input file

mencaa
Beginner
567 Views
Hi everyone:
I justinstall the last version of Intel Visual Fortran for x86-64bit development on a 64 bit machine.
When I run a simple "hello_world" type code I have this error:

-out:hello_world.exe

-subsystem:console

hello_world.obj

LINK : fatal error LNK1181: cannot open input file "-out:hello_world.exe"

The compiler generate the folders Debug or Release, but insider there is no *.exe file.
The same code works withthe32 bit Intel version, installed on another desktop, and using Compaq Visual Fortran installed on the same desktop.
Thank you very much.

Andrea.

0 Kudos
1 Reply
Wendy_Doerner__Intel
Valued Contributor I
567 Views
Andrea,

Hi. I wonder if this either 1) a problem with a space in your directory path that needs quotes around it or 2) a problem with our IDE in a non-English setting.

Here is what I would ask you to do to troubleshoot:

1) Remove the /nologo switch from your command line switches:

Right click on project =>Linker => General => Suppress Startup Banner => No

And then look at/send the results. We will see if there is a path name to a file that needs quotes.

2) If that is not the solution, zip up thewhole solutionand attach to this thread.

Can you also give us the version of Visual Studio and whether you have non English forms of it or the OS?

Thanks,

------

Wendy

Attaching or including files in a post




0 Kudos
Reply