Can't build out-of-the-box wxWidget

CodeLite installation/troubleshooting forum
tenbob
CodeLite Curious
Posts: 2
Joined: Sat Jan 23, 2010 7:04 pm
Genuine User: Yes
IDE Question: C++
Contact:

Can't build out-of-the-box wxWidget

Post by tenbob »

Hi, I'm a new user of CodeLite. I'm trying to use CodeLite with wxWidgets on Windows XP.

I downloaded the complete package of "CodeLite Installer With wxWidgets and MinGW" hoping it would be all set up and ready to run out of the box. This is the file. codelite-v1.0.2423-mingw3.4.5-wx2.8.7.exe

It installed and seems to run OK. When I tried to build the default wxWidgets app it couldn't find the include files. I added them at "Settings/Compilers/gnu g++/Global Paths/Include Path".

Then it compiled with the errors below.
Building:
"mingw32-make.exe" -j 2 -f "CodeLite Devt_wsp.mk"
----------Building project:[ Bob - Debug ]----------
g++ -c "C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp" -g -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\Program Files\wxWidgets-2.8.7\lib\gcc_dll\mswud -IC:\Program Files\wxWidgets-2.8.7\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -o ./Debug/bob_app.o "-IC:/Program Files/wxWidgets-2.8.7/include"
g++ -c "C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp" -g -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\Program Files\wxWidgets-2.8.7\lib\gcc_dll\mswud -IC:\Program Files\wxWidgets-2.8.7\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -o ./Debug/bob_frame.o "-IC:/Program Files/wxWidgets-2.8.7/include"
In file included from C:/Program Files/wxWidgets-2.8.7/include/wx/defs.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:15,
from C:/Program Files/wxWidgets-2.8.7/include/wx/app.h:20,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:1:
C:/Program Files/wxWidgets-2.8.7/include/wx/platform.h:196:22: wx/setup.h: No such file or directory
In file included from C:/Program Files/wxWidgets-2.8.7/include/wx/platform.h:279,
from C:/Program Files/wxWidgets-2.8.7/include/wx/defs.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:15,
from C:/Program Files/wxWidgets-2.8.7/include/wx/app.h:20,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:1:
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:103:9: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:111:9: #error "wxUSE_EXCEPTIONS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:119:9: #error "wxUSE_FILESYSTEM must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:127:9: #error "wxUSE_FS_ARCHIVE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:140:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:148:9: #error "wxUSE_LOG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:156:9: #error "wxUSE_LONGLONG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:164:9: #error "wxUSE_MIMETYPE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:180:9: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:188:9: #error "wxUSE_PROTOCOL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:230:9: #error "wxUSE_REGEX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:238:9: #error "wxUSE_STDPATHS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:246:9: #error "wxUSE_XML must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:254:9: #error "wxUSE_SOCKETS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:262:9: #error "wxUSE_STREAMS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:270:9: #error "wxUSE_STOPWATCH must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:278:9: #error "wxUSE_TEXTBUFFER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:286:9: #error "wxUSE_TEXTFILE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:302:9: #error "wxUSE_URL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:310:9: #error "wxUSE_VARIANT must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:330:9: #error "wxUSE_ABOUTDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:338:9: #error "wxUSE_ACCEL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:346:9: #error "wxUSE_ANIMATIONCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:354:9: #error "wxUSE_BITMAPCOMBOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:362:9: #error "wxUSE_BMPBUTTON must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:370:9: #error "wxUSE_BUTTON must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:378:9: #error "wxUSE_CALENDARCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:386:9: #error "wxUSE_CARET must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:394:9: #error "wxUSE_CHECKBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:410:9: #error "wxUSE_CHOICE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:418:9: #error "wxUSE_CHOICEBOOK must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:426:9: #error "wxUSE_CHOICEDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:434:9: #error "wxUSE_CLIPBOARD must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:442:9: #error "wxUSE_COLLPANE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:450:9: #error "wxUSE_COLOURDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:458:9: #error "wxUSE_COLOURPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:466:9: #error "wxUSE_COMBOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:474:9: #error "wxUSE_COMBOCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:482:9: #error "wxUSE_DATAOBJ must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:490:9: #error "wxUSE_DATAVIEWCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:498:9: #error "wxUSE_DATEPICKCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:506:9: #error "wxUSE_DIRPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:514:9: #error "wxUSE_DISPLAY must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:522:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:530:9: #error "wxUSE_FILEDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:538:9: #error "wxUSE_FILEPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:546:9: #error "wxUSE_FONTDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:554:9: #error "wxUSE_FONTMAP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:562:9: #error "wxUSE_FONTPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:570:9: #error "wxUSE_GAUGE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:578:9: #error "wxUSE_GRAPHICS_CONTEXT must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:587:9: #error "wxUSE_GRID must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:595:9: #error "wxUSE_HELP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:603:9: #error "wxUSE_HYPERLINKCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:611:9: #error "wxUSE_HTML must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:632:9: #error "wxUSE_ICO_CUR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:640:9: #error "wxUSE_IFF must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:648:9: #error "wxUSE_IMAGLIST must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:656:9: #error "wxUSE_JOYSTICK must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:664:9: #error "wxUSE_LISTBOOK must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:672:9: #error "wxUSE_LISTBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:680:9: #error "wxUSE_LISTCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:688:9: #error "wxUSE_LOGGUI must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:696:9: #error "wxUSE_LOGWINDOW must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:704:9: #error "wxUSE_LOG_DIALOG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:712:9: #error "wxUSE_MDI must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:720:9: #error "wxUSE_MDI_ARCHITECTURE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:728:9: #error "wxUSE_MENUS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:736:9: #error "wxUSE_MSGDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:744:9: #error "wxUSE_NOTEBOOK musIn file included from C:/Program Files/wxWidgets-2.8.7/include/wx/defs.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:15,
from C:/Program Files/wxWidgets-2.8.7/include/wx/window.h:19,
from C:/Program Files/wxWidgets-2.8.7/include/wx/toplevel.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:19,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:1:
C:/Program Files/wxWidgets-2.8.7/include/wx/platform.h:196:22: wx/setup.h: No such file or directory
In file included from C:/Program Files/wxWidgets-2.8.7/include/wx/platform.h:279,
from C:/Program Files/wxWidgets-2.8.7/include/wx/defs.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:15,
from C:/Program Files/wxWidgets-2.8.7/include/wx/window.h:19,
from C:/Program Files/wxWidgets-2.8.7/include/wx/toplevel.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:19,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:1:
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:103:9: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:111:9: #error "wxUSE_EXCEPTIONS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:119:9: #error "wxUSE_FILESYSTEM must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:127:9: #error "wxUSE_FS_ARCHIVE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:140:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:148:9: #error "wxUSE_LOG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:156:9: #error "wxUSE_LONGLONG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:164:9: #error "wxUSE_MIMETYPE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:180:9: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:188:9: #error "wxUSE_PROTOCOL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:230:9: #error "wxUSE_REGEX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:238:9: #error "wxUSE_STDPATHS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:246:9: #error "wxUSE_XML must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:254:9: #error "wxUSE_SOCKETS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:262:9: #error "wxUSE_STREAMS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:270:9: #error "wxUSE_STOPWATCH must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:278:9: #error "wxUSE_TEXTBUFFER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:286:9: #error "wxUSE_TEXTFILE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:302:9: #error "wxUSE_URL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:310:9: #error "wxUSE_VARIANT must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:330:9: #error "wxUSE_ABOUTDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:338:9: #error "wxUSE_ACCEL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:346:9: #error "wxUSE_ANIMATIONCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:354:9: #error "wxUSE_BITMAPCOMBOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:362:9: #error "wxUSE_BMPBUTTON must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:370:9: #error "wxUSE_BUTTON must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:378:9: #error "wxUSE_CALENDARCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:386:9: #error "wxUSE_CARET must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:394:9: #error "wxUSE_CHECKBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:410:9: #error "wxUSE_CHOICE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:418:9: #error "wxUSE_CHOICEBOOK must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:426:9: #error "wxUSE_CHOICEDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:434:9: #error "wxUSE_CLIPBOARD must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:442:9: #error "wxUSE_COLLPANE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:450:9: #error "wxUSE_COLOURDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:458:9: #error "wxUSE_COLOURPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:466:9: #error "wxUSE_COMBOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:474:9: #error "wxUSE_COMBOCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:482:9: #error "wxUSE_DATAOBJ must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:490:9: #error "wxUSE_DATAVIEWCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:498:9: #error "wxUSE_DATEPICKCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:506:9: #error "wxUSE_DIRPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:514:9: #error "wxUSE_DISPLAY must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:522:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:530:9: #error "wxUSE_FILEDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:538:9: #error "wxUSE_FILEPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:546:9: #error "wxUSE_FONTDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:554:9: #error "wxUSE_FONTMAP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:562:9: #error "wxUSE_FONTPICKERCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:570:9: #error "wxUSE_GAUGE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:578:9: #error "wxUSE_GRAPHICS_CONTEXT must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:587:9: #error "wxUSE_GRID must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:595:9: #error "wxUSE_HELP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:603:9: #error "wxUSE_HYPERLINKCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:611:9: #error "wxUSE_HTML must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:632:9: #error "wxUSE_ICO_CUR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:640:9: #error "wxUSE_IFF must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:648:9: #error "wxUSE_IMAGLIST must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:656:9: #error "wxUSE_JOYSTICK must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:664:9: #error "wxUSE_LISTBOOK must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:672:9: #error "wxUSE_LISTBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:680:9: #error "wxUSE_LISTCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:688:9: #error "wxUSE_LOGGUI must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:696:9: #error "wxUSE_LOGWINDOW must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:704:9: #error "wxUSE_LOG_DIALOG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:712:9: #error "wxUSE_MDI must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:720:9: #ert be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:752:9: #error "wxUSE_ODCOMBOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:760:9: #error "wxUSE_PALETTE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:768:9: #error "wxUSE_POPUPWIN must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:776:9: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:784:9: #error "wxUSE_RADIOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:792:9: #error "wxUSE_RADIOBTN must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:800:9: #error "wxUSE_SASH must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:808:9: #error "wxUSE_SCROLLBAR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:816:9: #error "wxUSE_SLIDER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:824:9: #error "wxUSE_SOUND must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:832:9: #error "wxUSE_SPINBTN must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:840:9: #error "wxUSE_SPINCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:848:9: #error "wxUSE_SPLASH must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:856:9: #error "wxUSE_SPLITTER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:864:9: #error "wxUSE_STATBMP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:872:9: #error "wxUSE_STATBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:880:9: #error "wxUSE_STATLINE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:888:9: #error "wxUSE_STATTEXT must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:896:9: #error "wxUSE_STATUSBAR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:904:9: #error "wxUSE_TAB_DIALOG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:912:9: #error "wxUSE_TEXTCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:920:9: #error "wxUSE_TIPWINDOW must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:928:9: #error "wxUSE_TOOLBAR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:936:9: #error "wxUSE_TOOLTIPS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:944:9: #error "wxUSE_TREECTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:952:9: #error "wxUSE_VALIDATORS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:960:9: #error "wxUSE_WXHTML_HELP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:968:9: #error "wxUSE_XRC must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:1765:9: #error "wxMessageBox is always needed"
In file included from C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:25,
from C:/Program Files/wxWidgets-2.8.7/include/wx/app.h:20,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:1:
C:/Program Files/wxWidgets-2.8.7/include/wx/thread.h:691: warning: inline function `void wxMutexGuiEnter()' declared as dllimport: attribute ignored
C:/Program Files/wxWidgets-2.8.7/include/wx/thread.h:692: warning: inline function `void wxMutexGuiLeave()' declared as dllimport: attribute ignored
ror "wxUSE_MDI_ARCHITECTURE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:728:9: #error "wxUSE_MENUS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:736:9: #error "wxUSE_MSGDLG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:744:9: #error "wxUSE_NOTEBOOK must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:752:9: #error "wxUSE_ODCOMBOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:760:9: #error "wxUSE_PALETTE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:768:9: #error "wxUSE_POPUPWIN must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:776:9: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:784:9: #error "wxUSE_RADIOBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:792:9: #error "wxUSE_RADIOBTN must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:800:9: #error "wxUSE_SASH must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:808:9: #error "wxUSE_SCROLLBAR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:816:9: #error "wxUSE_SLIDER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:824:9: #error "wxUSE_SOUND must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:832:9: #error "wxUSE_SPINBTN must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:840:9: #error "wxUSE_SPINCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:848:9: #error "wxUSE_SPLASH must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:856:9: #error "wxUSE_SPLITTER must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:864:9: #error "wxUSE_STATBMP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:872:9: #error "wxUSE_STATBOX must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:880:9: #error "wxUSE_STATLINE must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:888:9: #error "wxUSE_STATTEXT must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:896:9: #error "wxUSE_STATUSBAR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:904:9: #error "wxUSE_TAB_DIALOG must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:912:9: #error "wxUSE_TEXTCTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:920:9: #error "wxUSE_TIPWINDOW must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:928:9: #error "wxUSE_TOOLBAR must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:936:9: #error "wxUSE_TOOLTIPS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:944:9: #error "wxUSE_TREECTRL must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:952:9: #error "wxUSE_VALIDATORS must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:960:9: #error "wxUSE_WXHTML_HELP must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:968:9: #error "wxUSE_XRC must be defined."
C:/Program Files/wxWidgets-2.8.7/include/wx/chkconf.h:1765:9: #error "wxMessageBox is always needed"
In file included from C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:25,
from C:/Program Files/wxWidgets-2.8.7/include/wx/window.h:19,
from C:/Program Files/wxWidgets-2.8.7/include/wx/toplevel.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:19,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:1:
C:/Program Files/wxWidgets-2.8.7/include/wx/thread.h:691: warning: inline function `void wxMutexGuiEnter()' declared as dllimport: attribute ignored
C:/Program Files/wxWidgets-2.8.7/include/wx/thread.h:692: warning: inline function `void wxMutexGuiLeave()' declared as dllimport: attribute ignored
In file included from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:3:
C:/Program Files/wxWidgets-2.8.7/include/wx/sysopt.h:57: warning: 'static int wxSystemOptions::GetOptionInt(const wxString&)' defined locally after being referenced with dllimport linkage
C:/Program Files/wxWidgets-2.8.7/include/wx/sysopt.h:63: warning: 'static bool wxSystemOptions::HasOption(const wxString&)' defined locally after being referenced with dllimport linkage
In file included from C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:222,
from C:/Program Files/wxWidgets-2.8.7/include/wx/window.h:26,
from C:/Program Files/wxWidgets-2.8.7/include/wx/toplevel.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:19,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:5:
C:/Program Files/wxWidgets-2.8.7/include/wx/msw/region.h: In constructor `wxRegion::wxRegion(const wxBitmap&, const wxColour&, int)':
C:/Program Files/wxWidgets-2.8.7/include/wx/msw/region.h:31: error: no matching function for call to `wxRegion::Union(const wxBitmap&, const wxColour&, int&)'
C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:128: note: candidates are: bool wxRegionBase::Union(wxCoord, wxCoord, wxCoord, wxCoord)
C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:130: note: bool wxRegionBase::Union(const wxRect&)
C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:132: note: bool wxRegionBase::Union(const wxRegion&)
In file included from C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:222,
from C:/Program Files/wxWidgets-2.8.7/include/wx/window.h:26,
from C:/Program Files/wxWidgets-2.8.7/include/wx/toplevel.h:21,
from C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:19,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.h:4,
from C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:1:
C:/Program Files/wxWidgets-2.8.7/include/wx/msw/region.h: In constructor `wxRegion::wxRegion(const wxBitmap&, const wxColour&, int)':
C:/Program Files/wxWidgets-2.8.7/include/wx/msw/region.h:31: error: no matching function for call to `wxRegion::Union(const wxBitmap&, const wxColour&, int&)'
C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:128: note: candidates are: bool wxRegionBase::Union(wxCoord, wxCoord, wxCoord, wxCoord)
C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:130: note: bool wxRegionBase::Union(const wxRect&)
C:/Program Files/wxWidgets-2.8.7/include/wx/region.h:132: note: bool wxRegionBase::Union(const wxRegion&)
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp: In member function `virtual bool BobApp::OnInit()':
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:20: error: `SetOption' is not a member of `wxSystemOptions'
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:21: error: `wxXmlResource' has not been declared
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:21: error: `Get' was not declared in this scope
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:22: error: incomplete type `wxImage' used in nested name specifier
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:22: error: `wxPNGHandler' has not been declared
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:23: error: incomplete type `wxImage' used in nested name specifier
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:23: error: `wxCURHandler' has not been declared
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:24: error: incomplete type `wxImage' used in nested name specifier
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:24: error: `wxICOHandler' has not been declared
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:25: error: incomplete type `wxImage' used in nested name specifier
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:25: error: `wxXPMHandler' has not been declared
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:26: error: incomplete type `wxImage' used in nested name specifier
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_app.cpp:26: error: `wxGIFHandler' has not been declared
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp: In member function `void BobFrame::Initialize()':
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:34: error: invalid use of undefined type `struct wxStatusBar'
C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:27: error: forward declaration of `struct wxStatusBar'
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:35: error: invalid use of undefined type `struct wxStatusBar'
C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:27: error: forward declaration of `struct wxStatusBar'
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:36: error: `SetStatusBar' was not declared in this scope
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:37: error: `GetStatusBar' was not declared in this scope
g++: Files\wxWidgets-2.8.7\lib\gcc_dll\mswud: No such file or directory
g++: Files\wxWidgets-2.8.7\include: No such file or directory
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp: In member function `void BobFrame::CreateMenuBar()':
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:58: error: invalid use of undefined type `struct wxMenuBar'
C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:26: error: forward declaration of `struct wxMenuBar'
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:60: error: invalid use of undefined type `struct wxMenu'
C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:37: error: forward declaration of `struct wxMenu'
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:61: error: invalid use of undefined type `struct wxMenu'
C:/Program Files/wxWidgets-2.8.7/include/wx/event.h:37: error: forward declaration of `struct wxMenu'
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:62: error: invalid use of undefined type `struct wxMenuBar'
C:/Program Files/wxWidgets-2.8.7/include/wx/frame.h:26: error: forward declaration of `struct wxMenuBar'
C:/Documents and Settings/Bob/My Documents/CodeLite Devt/bob_frame.cpp:63: error: `SetMenuBar' was not declared in this scope
mingw32-make.exe[1]: *** [Debug/bob_app.o] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
g++: Files\wxWidgets-2.8.7\lib\gcc_dll\mswud: No such file or directory
g++: Files\wxWidgets-2.8.7\include: No such file or directory
mingw32-make.exe[1]: *** [Debug/bob_frame.o] Error 1
mingw32-make.exe: *** [All] Error 2
0 errors, 0 warnings, total time: 00:00:09 seconds
----------Build Ended----------
I tried switching between debug and release build as in an earlier post, but it made no difference.

Can anyone help me get it running please. Many thanks, Bob

Some further notes re the documentation.

1. I was using the Quick Start instructions on the website. It's difficult to see how to start a new wxWidet Project as the button icon is completely different from the instructions and in a different place. I don't think you can make this type of project from the menu - you need to use the button. I eventually found it from the tool tip.

2. I couldn't easily understand the videos here http://codelite.org/LiteEditor/Documentation. Are they meant to have an audio commentary? If not, it's hard to tell what's going on.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't build out-of-the-box wxWidget

Post by eranif »

tenbob wrote:codelite-v1.0.2423-mingw3.4.5-wx2.8.7.exe
You are using a *very* old version of codelite. First of all, download and install a more recent version of codelite.

1) Uninstall codelite from your system.
2) Download and install this version https://sourceforge.net/projects/codeli ... e/download
This version contains a more recent g++ compiler (v4.4.0), and newer version of wxWidgets and much better codelite with many bug fixed

Also, while installing codelite, please consider using the default locations as suggested by codelite installer (e.g. C:\MinGW-4.4.0 and C:\wxWidgets-2.8.10) - since MinGW does not like paths with spaces

Next, try to create a new wxWidgets sample again (this time, it is also accessible from the menu: plugins -> gizmos -> new wxWidgets project) and compile it - it should compile and run out of the box.

Eran
Make sure you have read the HOW TO POST thread
tenbob
CodeLite Curious
Posts: 2
Joined: Sat Jan 23, 2010 7:04 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't build out-of-the-box wxWidget

Post by tenbob »

Hi Eran. Thanks for your very quick response!! With the up to date version everything works much better. I think also the tip about having no spaces in the path for MinGW is very important. I have now done this.

The default wxWidgets file now builds OK in Release mode. In Debug mode, it says it can't find wxmsw28ud_gcc_custom.dll. I'm going to hunt around for this.

The reason I was using a very old version is that's the one that's suggested on the Codelite website here
http://codelite.org/WxWidgets/GettingRe ... derWindows
There were so many files on SourceForge I couldn't decide which one.

Thanks for your help. Bob
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't build out-of-the-box wxWidget

Post by eranif »

tenbob wrote:In Debug mode, it says it can't find wxmsw28ud_gcc_custom.dll. I'm going to hunt around for this.
This DLL exists under C:\wxWidgets-2.8.10\lib\gcc_dll

I will fix the Wiki page
EDIT:
The wiki pages are now updated to point to the latest version of codelite

Eran
Make sure you have read the HOW TO POST thread
dovoto
CodeLite Curious
Posts: 5
Joined: Sat Dec 20, 2008 8:04 am
Contact:

Re: Can't build out-of-the-box wxWidget

Post by dovoto »

Okay, having the same issue using the newest version (2.1.0.3584 linked above with mingw and wxWidgets) and everything installed to the default path locations. There is no setup.h in the wxWidgetsx.xx/include/wx folder.

Tried this both on windows 7 and windows server 2k8 (although not certain how the windows build would affect the unpacking of setup.h)

Thanks in advance for any advice.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't build out-of-the-box wxWidget

Post by eranif »

Please post here the output of the 'Build' tab - only the start of the build which includes the compilation lines is enough.
Eran
Make sure you have read the HOW TO POST thread
dovoto
CodeLite Curious
Posts: 5
Joined: Sat Dec 20, 2008 8:04 am
Contact:

Re: Can't build out-of-the-box wxWidget

Post by dovoto »

Code: Select all

----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe"  -j 2 -f "wxTest_wsp.mk""
----------Building project:[ wxTest2 - Release ]----------
mingw32-make[1]: Entering directory `c:/dev/pc/wxTest/wxTest2'
g++ -c  "C:/dev/pc/wxTest/wxTest2/wxtest2.cpp" -O2  -mthreads -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -IC:\wxWidgets-2.8.10\lib\gcc_dll\mswu -IC:\wxWidgets-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0    -D__WX__  -o ./Release/wxtest2.o "-IC:/wxWidgets-2.8.10/include"  "-I." 
In file included from C:/wxWidgets-2.8.10/include/wx/defs.h:21,
                 from C:/wxWidgets-2.8.10/include/wx/init.h:15,
                 from C:/dev/pc/wxTest/wxTest2/wxtest2.cpp:1:
C:/wxWidgets-2.8.10/include/wx/platform.h:196:22: error: wx/setup.h: No such file or directory
In file included from C:/wxWidgets-2.8.10/include/wx/platform.h:293,
                 from C:/wxWidgets-2.8.10/include/wx/defs.h:21,
                 from C:/wxWidgets-2.8.10/include/wx/init.h:15,
                 from C:/dev/pc/wxTest/wxTest2/wxtest2.cpp:1:
C:/wxWidgets-2.8.10/include/wx/chkconf.h:103:9: error: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/wxWidgets-2.8.10/include/wx/chkconf.h:111:9: error: #error "wxUSE_EXCEPTIONS must be defined."
...
...
C:/wxWidgets-2.8.10/include/wx/chkconf.h:968:9: error: #error "wxUSE_XRC must be defined."
C:/wxWidgets-2.8.10/include/wx/chkconf.h:1765:9: error: #error "wxMessageBox is always needed"
mingw32-make[1]: *** [Release/wxtest2.o] Error 1
mingw32-make[1]: *** Waiting for unfinished jobs....
C:/dev/pc/wxTest/wxTest2/resources.rc:2:24: error: wx/msw/wx.rc: No such file or directory
c:\MinGW-4.4.0\bin\windres.exe: c:\MinGW-4.4.0\bin\gcc exited with status 1
mingw32-make[1]: *** [Release/resources.rc.o] Error 1
mingw32-make[1]: Leaving directory `c:/dev/pc/wxTest/wxTest2'
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
101 errors, 0 warnings
on further inspection there is no wx/msw/wx.rc in the file system either....have a vista box i could try as well (as soon as i can kick the wife off of photoshop)

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

Re: Can't build out-of-the-box wxWidget

Post by eranif »

setup.h should be under
dovoto wrote:C:\wxWidgets-2.8.10\lib\gcc_dll\mswu
Also, there is no need to add wx paths by hand ( I noticed that you add C:/wxWidgets-2.8.10/include )

If you got MSYS installed:
add environment variable named: SHELL with value CMD.EXE

Eran
Make sure you have read the HOW TO POST thread
dovoto
CodeLite Curious
Posts: 5
Joined: Sat Dec 20, 2008 8:04 am
Contact:

Re: Can't build out-of-the-box wxWidget

Post by dovoto »

eranif wrote: If you got MSYS installed:
add environment variable named: SHELL with value CMD.EXE

Eran
That was it, thanks (btw, for others: add to the codelite environment variables not your system environment vars ;)
sleahey
CodeLite Curious
Posts: 1
Joined: Mon Nov 29, 2010 9:19 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't build out-of-the-box wxWidget

Post by sleahey »

Should this mod not perhaps be part of the installation on windows by default?
maybe not the place to discuss here, but it had me stumped till I found this...
Post Reply