Author Topic: C::B IDE Fortran Intel Parallel Studio Linking Problem  (Read 426 times)

Offline jkrob

  • Single posting newcomer
  • *
  • Posts: 7
C::B IDE Fortran Intel Parallel Studio Linking Problem
« on: October 21, 2019, 05:52:31 pm »
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

Online BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2545

Offline jkrob

  • Single posting newcomer
  • *
  • Posts: 7
Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
« Reply #2 on: October 22, 2019, 01:41:15 am »
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"

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12069
    • Travis build status
Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
« Reply #3 on: October 22, 2019, 02:01:04 am »
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!]

Offline jkrob

  • Single posting newcomer
  • *
  • Posts: 7
Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
« Reply #4 on: October 22, 2019, 04:02:35 am »
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))
 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12069
    • Travis build status
Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
« Reply #5 on: October 22, 2019, 08:52:34 am »
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!]

Offline jkrob

  • Single posting newcomer
  • *
  • Posts: 7
Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
« Reply #6 on: October 28, 2019, 07:25:43 pm »
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