Failed to start build process

CodeLite installation/troubleshooting forum
moepi
CodeLite Curious
Posts: 2
Joined: Fri Mar 12, 2010 11:11 pm
Genuine User: Yes
IDE Question: c++
Contact:

Failed to start build process

Post by moepi »

Hi,

I'm new in programming with c++. At the university we work with CodeLite and so I wanted to install it at home on Windows 7 (I also tried at Windows XP, same problems). Each time I try to compile my project I get this error:

----------Build Started--------
C:\Windows\system32\cmd.exe;C:\users\restricted area\desktop\info\javaprogs\ /c ""mingw32-make.exe" -j 2 -f "aufgaben_wsp.mk""
Failed to start build process, command: C:\Windows\system32\cmd.exe;C:\users\restricted area\desktop\info\javaprogs\ /c ""mingw32-make.exe" -j 2 -f "aufgaben_wsp.mk"", process terminated with exit code: 0

Now I don't know what to do? And why tries it to load my java compiler?

Thanks for answers and solutions.
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Failed to start build process

Post by eranif »

moepi wrote:C:\Windows\system32\cmd.exe;C:\users\restricted area\desktop\info\javaprogs\ /c ""mingw32-make.exe" -j 2 -f "aufgaben_wsp.mk""
This line should be like this:

Code: Select all

C:\Windows\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "aufgaben_wsp.mk""
Now, how did you end up with this extra 'C:\users\restricted area\desktop\info\javaprogs\' ??

To fix this:
  • Close codelite
  • Open Windows environment variables settings
  • Search for the variable COMSPEC - if you dont have it, add one
  • Sets its value to C:\Windows\system32\cmd.exe
  • Restart codelite
Eran
Make sure you have read the HOW TO POST thread
moepi
CodeLite Curious
Posts: 2
Joined: Fri Mar 12, 2010 11:11 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Failed to start build process

Post by moepi »

It works now fine. Thanks
Post Reply