News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

cl.exe failed to execute...

Started by IvanLon, June 03, 2009, 10:46:45 PM

Previous topic - Next topic

IvanLon

Execution of 'cl.exe /nologo /W3 /Zi /D_DEBUG /Zi /D_DEBUG /Zi /D_DEBUG  /IC:\Jennic\cygwin\ba-elf\ba-elf\include  /c test.c /Foobj\Debug\test.obj' in 'C:\Jennic\cygwin\test' failed.
Nothing to be done.

I'm using an old version : svn build rev 3466 and I searched one post about this error so that I changed the direction of linkers. But I don't know how to make it right. Thanks. The code is correct.

MortenMacFly

Quote from: IvanLon on June 03, 2009, 10:46:45 PM
Execution of 'cl.exe /nologo /W3 /Zi /D_DEBUG /Zi /D_DEBUG /Zi /D_DEBUG  /IC:\Jennic\cygwin\ba-elf\ba-elf\include  /c test.c /Foobj\Debug\test.obj' in 'C:\Jennic\cygwin\test' failed.
Inspect and correct the compiler setup for the Visual Studio compiler.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

IvanLon

can you show me how to setup the compilar ?

oBFusCATed

Go to "Settings -> Compiler & Debugger"
In "Selected compiler" choose your compiler (vc toolkit 2003 or the thing that you are using)
Than go to "Toolchain executable" and than verify that the "Compiler's installation directory" is correct!
This directory should contain the cl.exe file when you open it in the explorer.

(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!]