News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

C::B IDE Fortran Intel Parallel Studio Linking Problem

Started by jkrob, October 21, 2019, 05:52:31 PM

Previous topic - Next topic

jkrob

All,

Hello - after being away from C::B for quite a while having difficulty getting IVF to work, I'm back using Intel Parallel Studio & at least I have it compiling a "Hello World" but the final linking is erroring out.

LINK : fatal error LNK1104: cannot open file "-out:bin\Debug\CBTest.exe"

Project is located in "C:\Temp\CBTest" & the output directory is "C:\Temp\CBTest\bin\Debug"

Similar error for Release as well:

LINK : fatal error LNK1104: cannot open file "-out:bin\Release\CBTest.exe"

I presume some Project Property is getting mangled but don't know what.

Thanks in advance,
Jeff


jkrob

OK.......
-------------- Build: Release in CBTest (compiler: Intel Fortran Compiler for Windows)---------------

ifort.exe /nologo  /exe:bin\Release\CBTest.exe  obj\Release\main.obj 
LINK : fatal error LNK1104: cannot open file "-out:bin\Release\CBTest.exe"

oBFusCATed

This is not the full build log. Do a rebuild, please. And use code tags.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jkrob

Better?.....
-------------- Clean: Release in CBTest (compiler: Intel Fortran Compiler for Windows)---------------

Cleaned "CBTest - Release"

-------------- Build: Release in CBTest (compiler: Intel Fortran Compiler for Windows)---------------

ifort.exe /nologo  /O2     /module:obj\Release\ /c main.f90 /object:obj\Release\main.obj
ifort.exe /nologo  /exe:bin\Release\CBTest.exe  obj\Release\main.obj 
LINK : fatal error LNK1104: cannot open file "-out:bin\Release\CBTest.exe"
Process terminated with status 1104 (0 minute(s), 1 second(s))
1 error(s), 0 warning(s) (0 minute(s), 1 second(s))


oBFusCATed

Does it work if you execute the last command on the command line (probably you have to use a env setup script or export some variables)?
Do you have anti virus software?
Do you use an English locale for everything?

p.s. I've never used this compiler, nor fortran, so my comments are general. :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jkrob

Well...I can see *this* was productive :-/
I guess I'll just stick to IVF, abandon C::B once again & try back again in a few years. Maybe, by then, things will be working better...

Jeff