Author Topic: cl.exe failed to execute...  (Read 5067 times)

IvanLon

  • Guest
cl.exe failed to execute...
« 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: cl.exe failed to execute...
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

IvanLon

  • Guest
Re: cl.exe failed to execute...
« Reply #2 on: June 10, 2009, 12:09:04 am »
can you show me how to setup the compilar ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: cl.exe failed to execute...
« Reply #3 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.

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