Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: IvanLon on June 03, 2009, 10:46:45 pm

Title: cl.exe failed to execute...
Post by: 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.
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.
Title: Re: cl.exe failed to execute...
Post by: MortenMacFly on June 04, 2009, 11:39:47 am
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.
Title: Re: cl.exe failed to execute...
Post by: IvanLon on June 10, 2009, 12:09:04 am
can you show me how to setup the compilar ?
Title: Re: cl.exe failed to execute...
Post by: oBFusCATed on June 10, 2009, 12:25:41 am
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.