I downloaded and installed codelite from this website:
http://codelite.org/WxWidgets/GettingRe ... derWindows
I ran the .exe and installed codelite in C:/Program Files,
While installation I set the location of Mingw, wx
the other three utilites were installed under C:/Program Files/CodeLite folder - mingw4.4.0, and wxMSW-2.8.11 to C:/program files/CodeLite.
Now I tried to create a sample APP using this tutorial here:
http://codelite.org/docs/VideoTutorials/wxdemo_gui.html
When i try to select myapp_frame.cpp and press "Build Active Project" it gives me this error:
----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "demo_wsp.mk""
----------Building project:[ myapp - Debug ]----------
mingw32-make[1]: Entering directory `C:/Program Files/CodeLite/demo/myapp'
/usr/bin/sh: g++: command not found
mingw32-make[1]: *** [Debug/myapp_app.o.d] Error 127
mingw32-make[1]: *** Waiting for unfinished jobs....
/usr/bin/sh: g++: command not found
mingw32-make[1]: *** [Debug/myapp_frame.o.d] Error 127
mingw32-make[1]: Leaving directory `C:/Program Files/CodeLite/demo/myapp'
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings
I have tried every possible way, but I cant ffind a way to build a sample app.
Please Help !!!!
I
/usr/bin/sh: g++: command not found
-
- CodeLite Curious
- Posts: 2
- Joined: Mon Aug 30, 2010 11:22 pm
- 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: /usr/bin/sh: g++: command not found
You already have MSYS on your PATH environment variable which is placed *befoer* the MinGW that comes with codelite. Try changing the order.
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Mon Aug 30, 2010 11:22 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: /usr/bin/sh: g++: command not found
With PATH you mean the PATH in windows Environement or CodeLite Environment ? Currently in my CodeLite Environment the Path looks like this:
WXWIN - C:\Prgram Files\CodeLite
WXCFG - gcc_dl\mswu
UNIT_TEST_PP_SRC_DIR - C:\UnitTest++-1.3
Where do I remove MSYS from ?
Thanks,
WXWIN - C:\Prgram Files\CodeLite
WXCFG - gcc_dl\mswu
UNIT_TEST_PP_SRC_DIR - C:\UnitTest++-1.3
Where do I remove MSYS from ?
Thanks,
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: /usr/bin/sh: g++: command not found
Instead of removing it from your system environment variable settings, add this line to your codelite environment variables:
This will add codelite's directory AND MinGW directory to the path first (only for codelite's session)
Eran
Code: Select all
PATH=C:\Program Files\CodeLite;C:\MinGW-4.4.1\bin;$(PATH)
Eran
Make sure you have read the HOW TO POST thread