Build error.

General questions regarding the usage of CodeLite
sudheer
CodeLite Curious
Posts: 2
Joined: Mon Jul 19, 2010 7:33 pm
Genuine User: Yes
IDE Question: C++
Contact:

Build error.

Post by sudheer »

Hi,
I am planning to use Codelite for my wxWidgets Apps. Just now I downloaded codelite-2.5.3.4075-mingw4.4.1-wx2.8.10 and installed on WindowsXP. When I tried to build the demo app I am getting the following errors. Pls help.

----------Build Started--------
G:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "WxFB_Demo_wsp.mk""
----------Building project:[ MyDemoApp - Debug ]----------
mingw32-make.exe[1]: Entering directory `J:/WxFB_Demo/MyDemoApp'
windres -i "J:/WxFB_Demo/MyDemoApp/resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir J:\CodeLite\wxWidgets-2.8.10\lib\gcc_dll\mswu --include-dir J:\CodeLite\wxWidgets-2.8.10\include --define WXUSINGDLL -o ./Debug/resources.rc.o
Sorry, \epoc32\gcc\bin\g++.exe is not supported in this release. Please use a different
device. Use 'devices' to view the available devices.
mingw32-make.exe[1]: *** [Debug/mydemoapp.o.d] Error 2
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
Sorry, \epoc32\gcc\bin\windres.exe is not supported in this release. Please use a different
device. Use 'devices' to view the available devices.
mingw32-make.exe[1]: *** [Debug/resources.rc.o] Error 2
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory `J:/WxFB_Demo/MyDemoApp'
----------Build Ended----------
0 errors, 0 warnings

Regards.

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

Re: Build error.

Post by eranif »

Since codelite's mingw does not install g++ under epoc32 ... I guess that you got another g++ which is set in the system's PATH and this is the one that is picked up
Fix your environment (you can do it from within codelite settings -> environment variables)

Eran
Make sure you have read the HOW TO POST thread
sudheer
CodeLite Curious
Posts: 2
Joined: Mon Jul 19, 2010 7:33 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Build error.

Post by sudheer »

Hi,

Thanks for the speedy reply. I had Symbian Tools g++ in my path. I fixed it, now Codelite is building the wxWidgets apps corrrectly :D

Regards

Sudheer
Post Reply