Hi. Sorry if this topic is not written the right way or if the question was answered million times (It is my first post and I am new to C::B)
I am using C::B 10.05+MinGW, wxWidgets on Vista. I had the same situation with C::B 8.02 so it is not related to new version of it. My environment variable PATH=C:\ProgramFiles\CodeBlocks\bin;C:\MinGW\mingw32\bin;C:\MinGW\bin;C:\wxWidgets-2.8.11;C:MinGW
I tried the easiest way to get C::B and wxWidgets working, so I used WXPACK to get 2.8.11 wxWidgets, and I have MinGW downloaded and installed together with C::B. I had previously installed MinGW independently (c:\MinGW). (From different reasons its hard for me to format hard drive and install everything from the beginning.. but will do if it is needed)
From this site
http://dev.arqendra.net/#cbnb I downloaded:
- Pre-compiled wxWidgets v2.8.10 static libraries(compiled with gcc 3.4.5)
and put it here: C:\wxWidgets-2.8.11\lib\gcc_dll
- Pre-compiled wxWidgets v2.8.10 dynamic libraries(compiled with gcc 3.4.5)
put it here: C:\wxWidgets-2.8.11\lib\gcc_lib
I didnt download and put anywhere the third download (monolithic library) as I followed some tutorial I can find again right now... Then I managed to compile and run only one .cbp project- that is GraphicsAppTemp project from the site I put just before (
http://dev.arqendra.net/#cbnb )
Still can't compile sample projects downloaded with wxWidgets (wxWidgets\Sample). Actually I am not sure how to create a .cbp project based on those samples properly.
Also I get errors even with doing the 1st tutorial with wxSmith [
http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world ]
Error logs:
-------------- Build: Release in PleaseWork ---------------
Precompiling header: wx_pch.h
In file included from C:/wxWidgets-2.8.11/include/wx/defs.h:21,
from C:/wxWidgets-2.8.11/include/wx/wxprec.h:13,
from ./wx_pch.h:14,
from <command line>:6:
C:/wxWidgets-2.8.11/include/wx/platform.h:196:22: wx/setup.h: No such file or directory
In file included from C:/wxWidgets-2.8.11/include/wx/platform.h:293,
from C:/wxWidgets-2.8.11/include/wx/defs.h:21,
from C:/wxWidgets-2.8.11/include/wx/wxprec.h:13,
from ./wx_pch.h:14,
from <command line>:6:
C:/wxWidgets-2.8.11/include/wx/chkconf.h:103:9: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:111:9: #error "wxUSE_EXCEPTIONS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:119:9: #error "wxUSE_FILESYSTEM must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:127:9: #error "wxUSE_FS_ARCHIVE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:140:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:148:9: #error "wxUSE_LOG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:156:9: #error "wxUSE_LONGLONG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:164:9: #error "wxUSE_MIMETYPE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:180:9: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:188:9: #error "wxUSE_PROTOCOL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:230:9: #error "wxUSE_REGEX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:238:9: #error "wxUSE_STDPATHS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:246:9: #error "wxUSE_XML must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:254:9: #error "wxUSE_SOCKETS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:262:9: #error "wxUSE_STREAMS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:270:9: #error "wxUSE_STOPWATCH must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:278:9: #error "wxUSE_TEXTBUFFER must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:286:9: #error "wxUSE_TEXTFILE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:302:9: #error "wxUSE_URL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:310:9: #error "wxUSE_VARIANT must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:330:9: #error "wxUSE_ABOUTDLG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:338:9: #error "wxUSE_ACCEL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:346:9: #error "wxUSE_ANIMATIONCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:354:9: #error "wxUSE_BITMAPCOMBOBOX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:362:9: #error "wxUSE_BMPBUTTON must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:370:9: #error "wxUSE_BUTTON must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:378:9: #error "wxUSE_CALENDARCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:386:9: #error "wxUSE_CARET must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:394:9: #error "wxUSE_CHECKBOX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:410:9: #error "wxUSE_CHOICE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:418:9: #error "wxUSE_CHOICEBOOK must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:426:9: #error "wxUSE_CHOICEDLG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:434:9: #error "wxUSE_CLIPBOARD must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:442:9: #error "wxUSE_COLLPANE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:450:9: #error "wxUSE_COLOURDLG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:458:9: #error "wxUSE_COLOURPICKERCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:466:9: #error "wxUSE_COMBOBOX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:474:9: #error "wxUSE_COMBOCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:482:9: #error "wxUSE_DATAOBJ must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:490:9: #error "wxUSE_DATAVIEWCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:498:9: #error "wxUSE_DATEPICKCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:506:9: #error "wxUSE_DIRPICKERCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:514:9: #error "wxUSE_DISPLAY must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:522:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:530:9: #error "wxUSE_FILEDLG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:538:9: #error "wxUSE_FILEPICKERCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:546:9: #error "wxUSE_FONTDLG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:554:9: #error "wxUSE_FONTMAP must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:562:9: #error "wxUSE_FONTPICKERCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:570:9: #error "wxUSE_GAUGE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:578:9: #error "wxUSE_GRAPHICS_CONTEXT must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:587:9: #error "wxUSE_GRID must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:595:9: #error "wxUSE_HELP must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:603:9: #error "wxUSE_HYPERLINKCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:611:9: #error "wxUSE_HTML must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:632:9: #error "wxUSE_ICO_CUR must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:640:9: #error "wxUSE_IFF must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:648:9: #error "wxUSE_IMAGLIST must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:656:9: #error "wxUSE_JOYSTICK must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:664:9: #error "wxUSE_LISTBOOK must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:672:9: #error "wxUSE_LISTBOX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:680:9: #error "wxUSE_LISTCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:688:9: #error "wxUSE_LOGGUI must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:696:9: #error "wxUSE_LOGWINDOW must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:704:9: #error "wxUSE_LOG_DIALOG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:712:9: #error "wxUSE_MDI must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:720:9: #error "wxUSE_MDI_ARCHITECTURE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:728:9: #error "wxUSE_MENUS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:736:9: #error "wxUSE_MSGDLG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:744:9: #error "wxUSE_NOTEBOOK must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:752:9: #error "wxUSE_ODCOMBOBOX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:760:9: #error "wxUSE_PALETTE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:768:9: #error "wxUSE_POPUPWIN must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:776:9: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:784:9: #error "wxUSE_RADIOBOX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:792:9: #error "wxUSE_RADIOBTN must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:800:9: #error "wxUSE_SASH must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:808:9: #error "wxUSE_SCROLLBAR must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:816:9: #error "wxUSE_SLIDER must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:824:9: #error "wxUSE_SOUND must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:832:9: #error "wxUSE_SPINBTN must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:840:9: #error "wxUSE_SPINCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:848:9: #error "wxUSE_SPLASH must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:856:9: #error "wxUSE_SPLITTER must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:864:9: #error "wxUSE_STATBMP must be defined."
C:/w
xWidgets-2.8.11/include/wx/chkconf.h:872:9: #error "wxUSE_STATBOX must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:880:9: #error "wxUSE_STATLINE must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:888:9: #error "wxUSE_STATTEXT must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:896:9: #error "wxUSE_STATUSBAR must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:904:9: #error "wxUSE_TAB_DIALOG must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:912:9: #error "wxUSE_TEXTCTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:920:9: #error "wxUSE_TIPWINDOW must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:928:9: #error "wxUSE_TOOLBAR must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:936:9: #error "wxUSE_TOOLTIPS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:944:9: #error "wxUSE_TREECTRL must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:952:9: #error "wxUSE_VALIDATORS must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:960:9: #error "wxUSE_WXHTML_HELP must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:968:9: #error "wxUSE_XRC must be defined."
C:/wxWidgets-2.8.11/include/wx/chkconf.h:1765:9: #error "wxMessageBox is always needed"
Process terminated with status 1 (0 minutes, 10 seconds)
100 errors, 0 warnings
I will appreciate any help or advice,