[EDIT]
If others have the same problem, it can be solved by simply re-installing the .NET Framework!
[/EDIT]
Hi everyone,
I'm trying to set up Code::Blocks with the Intel C++ Compiler. I have tried Code::Blocks 8.02 and the January 16 Nightly Build, and Intel C++ Compiler v10.1.014 with Visual C++ 2008 SP1.
When trying to compile a simple "hello.cpp", it seems to create a "hello.obj" file, but it doesn't link a "hello.exe". Instead, it exits with the following error:
hello.cpp
Linking console executable: d:\docs\cpp\hello.exe
xilink: executing 'link'
xilink: error spawn_errno_EINVAL: unable to run 'link'
Process terminated with status -1 (0 minutes, 2 seconds)
0 errors, 0 warnings
I have set up all paths as described in the wiki (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Intel_C.2B.2B_Compiler) (changed to fit my system).
Note that before this error, I used to get a different error saying that "libc.lib" wasn't found. After placing libc.lib in the ...\VC\lib directory, that error disappeared, but this one came up.
Any help would be much apreciated! :)
Thank you! Now I get this:
icl.exe /nologo /ID:\programme\codeblocks\Intel\Compiler\C++\10.1.014\IA32\include /ID:\programme\codeblocks\msvc\VC\include /ID:\programme\codeblocks\msvc\SDK\Include /c d:\docs\cpp\hello.cpp /Fod:\docs\cpp\hello.obj
hello.cpp
xilink.exe /nologo /LIBPATH:D:\programme\codeblocks\Intel\Compiler\C++\10.1.014\IA32\lib /LIBPATH:D:\programme\codeblocks\msvc\VC\lib /LIBPATH:D:\programme\codeblocks\msvc\SDK\Lib /out:d:\docs\cpp\hello.exe d:\docs\cpp\hello.obj
xilink: executing 'link'
xilink: error spawn_errno_EINVAL: unable to run 'link'
Process terminated with status -1 (0 minutes, 7 seconds)
0 errors, 0 warnings