After Updating from codelite 5.4 to 6.0 make aborts

General questions regarding the usage of CodeLite
thobo70
CodeLite Curious
Posts: 3
Joined: Tue Jun 03, 2014 9:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

After Updating from codelite 5.4 to 6.0 make aborts

Post by thobo70 »

Hi all,

after Update to 6.0 I can't build anything even when I create a new Project with simple Hello World sample. Following Build output I get:

C:\Windows\system32\cmd.exe /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j8 -e -f Makefile"
----------Building project:[ armv6 - Debug ]----------
/bin/sh: -c: line 3: syntax error: unexpected end of file
mingw32-make.exe: *** [All] Error 258
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings

Any hint?

regards
Thomas
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: After Updating from codelite 5.4 to 6.0 make aborts

Post by eranif »

Notice that the you have sh.exe in your path...
this is known to cause problems with the default MinGW (i.e. non MSYS)

Try this:
set the environment variable SHELL=CMD.EXE in
settings -> environment variables
and try it again

Eran
Make sure you have read the HOW TO POST thread
thobo70
CodeLite Curious
Posts: 3
Joined: Tue Jun 03, 2014 9:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: After Updating from codelite 5.4 to 6.0 make aborts

Post by thobo70 »

Hi eranif,

I tried it, but seems to have no effect, even after restarting codelite

regards
Thomas
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: After Updating from codelite 5.4 to 6.0 make aborts

Post by eranif »

Well, the generated Makefiles are not compatible with sh.exe... and sh.exe does not understand backslashes etc
so you should either locate and rename sh.exe or move it out of your path

Eran
Make sure you have read the HOW TO POST thread
thobo70
CodeLite Curious
Posts: 3
Joined: Tue Jun 03, 2014 9:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: After Updating from codelite 5.4 to 6.0 make aborts

Post by thobo70 »

Hi eranif,

we have a winner, found a sh.exe in an old winavr directory, renamed it, works !! greate

Thanks !!!

regards
Thomas
Post Reply