I cannot seem to get codelite to invoke mingw32-make correctly with the .mk file.
I have reinstalled many times. Both codelite and ming have been reinstalled multiple times. I am using gcc ver 4.4.x. I invoke mingw32-make manually and it still does not work.
I have no idea what is going on here. Please help.
C:\WINDOWS\system32\cmd.exe /c ""C:/MinGW/bin/mingw32-make.exe" -j 2 -f "DatabaseTools_wsp.mk""
zsh: bad pattern: project:[
mingw32-make.exe: *** [All] Error 1
Cannot compile
-
- CodeLite Curious
- Posts: 5
- Joined: Wed Dec 16, 2009 8:46 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot compile
where does this come from?pkuriakose wrote:zsh: bad pattern: project:[
codelite does not uses any shells, do you have Cygwin installed on your system?
If you do, do this:
make sure that the MinGW path is set first on the path (or at least before the Cygwin path)
In any case, do this:
set the system environment variable SHELL to CMD.EXE
restart codelite and try again
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Wed Dec 16, 2009 8:46 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot compile
Hi Eranif,
Thanks very much for the quick reply.
Cygwin is not installed. No other shell is installed.
I really have no idea where zsh comes from. The build output text that I posted shows that CodeLite is invoking cmd.exe directly and with an explicit path. Also mingw32-make is also explicitly path'd. Please see below where I invoke manually from the command line... (yes I am that old).
C:\Documents and Settings\Paul\My Documents\CodeLite\DatabaseTools>mingw32-make
-j 2 -f DatabaseTools_wsp.mk
zsh: bad pattern: project:[
mingw32-make: *** [All] Error 1
I took out everything from my path but the system dir's and ming and codelite. I don't know what this is about.
Thanks,
Paul
Thanks very much for the quick reply.
Cygwin is not installed. No other shell is installed.
I really have no idea where zsh comes from. The build output text that I posted shows that CodeLite is invoking cmd.exe directly and with an explicit path. Also mingw32-make is also explicitly path'd. Please see below where I invoke manually from the command line... (yes I am that old).
C:\Documents and Settings\Paul\My Documents\CodeLite\DatabaseTools>mingw32-make
-j 2 -f DatabaseTools_wsp.mk
zsh: bad pattern: project:[
mingw32-make: *** [All] Error 1
I took out everything from my path but the system dir's and ming and codelite. I don't know what this is about.
Thanks,
Paul
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot compile
Did you set the SHELL environment variable to CMD.EXE as I suggested?
Where did you install MinGW from?
EDIT: Did you install MinGW + MSYS?
Eran
Where did you install MinGW from?
EDIT: Did you install MinGW + MSYS?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Wed Dec 16, 2009 8:46 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot compile
I did set it. It had no effect.
I installed mingw from the main ming site. I have tried 3.x and 4.x with the same effect. I do not have msys. Is that necessary?
Thanks,
Paul
I installed mingw from the main ming site. I have tried 3.x and 4.x with the same effect. I do not have msys. Is that necessary?
Thanks,
Paul
-
- CodeLite Curious
- Posts: 5
- Joined: Wed Dec 16, 2009 8:46 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot compile
Solved,
Found gnu's sh.exe in my path. My bad.
Thanks for you help.
Paul
Found gnu's sh.exe in my path. My bad.
Thanks for you help.
Paul