Page 1 of 1

Build error.

Posted: Mon Jul 19, 2010 7:39 pm
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

Re: Build error.

Posted: Mon Jul 19, 2010 7:45 pm
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

Re: Build error.

Posted: Mon Jul 19, 2010 9:48 pm
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