Failed to start build process (CodeLite7,Windows7)

CodeLite installation/troubleshooting forum
Ardeshir81
CodeLite Curious
Posts: 3
Joined: Tue Oct 21, 2014 1:18 pm
Genuine User: Yes
IDE Question: C++
Contact:

Failed to start build process (CodeLite7,Windows7)

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
Ardeshir81
CodeLite Curious
Posts: 3
Joined: Tue Oct 21, 2014 1:18 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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 : )
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by eranif »

Download the latest weekly build from codelite's download page - this problem is fixed there

Eran
Make sure you have read the HOW TO POST thread
Ardeshir81
CodeLite Curious
Posts: 3
Joined: Tue Oct 21, 2014 1:18 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by Ardeshir81 »

Welldone Codelite ! : )

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