Page 1 of 1

Failed to start build process (CodeLite7,Windows7)

Posted: Tue Oct 21, 2014 3:10 pm
by Ardeshir81
HI Everyone !
I recently installed CodeLite 7 on my system (Windows 7 64bit) . I tried a simple executable (g++) with gdb debugger . I pressed "run" and chose "Build and execute" But in the bottom panel i got this message and nothing happened :
\COMMAND.COM /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile

Then I press "Build project" (F7) and in the bottom in the output panel I see this messages :
Current working directory: C:\Users\Ardeshir81\Documents\CodeLiteProjects\CPPTest3CL
Running program: le_exec.exe ./CPPTest3CL
Program exited with return code: 0
And a cmd-like window opens with a "Press any key to continue ..." , but not my hello world !
The I press Build project again and I get this error message in build tab :
Failed to start build process, command: \COMMAND.COM /c "C:/MinGW-4.8.1/bin/mingw-make.exe -j4 SHELL=cmd.exe -e -f Makefile ", process terminated with exit code : 0\COMMAND.COM /c "C:/Mingw-4.8.1/bin/mingw-make.exe -j4 SHELL=cmd.exe -e -f Makefile"
(Also there is no copy available for this error message)


I also try "Rebuild project" and I get the same message .
My MinGW was installed with the CodeLite binary installer and I can compile my programs using command line and it's g++.exe and mingw32-g++.exe , but I can't build my CodeLite projects .


THANKS ! :)


+EDIT :
I also tried this :
http://codelite.org/forum/viewtopic.php?f=3&t=138
and this :
http://forums.codelite.org/viewtopic.ph ... 862&p=3865

But I still get the same results
THanks

+EDIT:
Also is it normal that my build settings window looks like this :
Image

It is not comfortable

Re: Failed to start build process (CodeLite7,Windows7)

Posted: Tue Oct 21, 2014 4:57 pm
by eranif
Try this:
From the main menu: Settings->Environment variables

Add this line:

Code: Select all

COMSPEC=CMD.EXE
And try to compile again
Eran

Re: Failed to start build process (CodeLite7,Windows7)

Posted: Sun Oct 26, 2014 11:51 pm
by Ardeshir81
Thank you @eranif !
I tried it , but it didn't work , I still get the same results.
Sorry for replying late , do you need some additional video/picture or log files . Thank you for your time and effort : )

Re: Failed to start build process (CodeLite7,Windows7)

Posted: Mon Oct 27, 2014 9:50 am
by eranif
Download the latest weekly build from codelite's download page - this problem is fixed there

Eran

Re: Failed to start build process (CodeLite7,Windows7)

Posted: Sat Nov 01, 2014 2:23 pm
by Ardeshir81
Welldone Codelite ! : )

Thank you @Eranif ^_^
it is working . Nice IDE !
LongLiveCodelite : http://falyrics.ir/LongLiveCodeLite/