Code::Blocks Forums
User forums => Help => Topic started 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
-
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
-
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"
-
This is not the full build log. Do a rebuild, please. And use code tags.
-
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))
-
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. :(
-
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