Code::Blocks Forums

User forums => Help => Topic started by: jkrob on October 21, 2019, 05:52:31 pm

Title: C::B IDE Fortran Intel Parallel Studio Linking Problem
Post by: jkrob 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
Title: Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
Post by: BlueHazzard on October 21, 2019, 11:12:32 pm
without full build log.... hard to answer....

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Title: Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
Post by: jkrob 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"
Title: Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
Post by: oBFusCATed on October 22, 2019, 02:01:04 am
This is not the full build log. Do a rebuild, please. And use code tags.
Title: Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
Post by: jkrob 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))
 
Title: Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
Post by: oBFusCATed 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. :(
Title: Re: C::B IDE Fortran Intel Parallel Studio Linking Problem
Post by: jkrob 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