Author Topic: help : error with no code added  (Read 4298 times)

Offline michellembrodeur

  • Single posting newcomer
  • *
  • Posts: 5
help : error with no code added
« on: March 27, 2011, 10:39:20 pm »
ok i have installed all this.
wxMSW-2.8.11-Setup
wxPack_v2.8.11.03
codeblocks-10.05mingw-setup

trying to solve this.

i choose new project
wxwidget
wxwidgets 2.8.x
gave a name of main
folder of D:\Programming\CB\main\main.cbp
my name and such
Preferred GUI Builder = wxSmith
Application Type = Frame Based
wxwidget's location: C:\wxWidgets-2.8.11
GNU GCC Compiler
Create Debug  all defaults
Create Release all defaults
use wxwidgets DLL
wxWidgets is built as monolithic library
Enable unicode
Create and use precompiled header (PCH)
on the first error of no debug i choose yes
and on the second one yes also


then without addeing any code i get this

"-------------- Build: Debug in main ---------------

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>:0:
C:\wxWidgets-2.8.11\include/wx/platform.h:196:22: error: 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>:0:
C:\wxWidgets-2.8.11\include/wx/chkconf.h:103:9: error: #error "wxUSE_DYNLIB_CLASS must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:111:9: error: #error "wxUSE_EXCEPTIONS must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:119:9: error: #error "wxUSE_FILESYSTEM must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:127:9: error: #error "wxUSE_FS_ARCHIVE must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:140:9: error: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:148:9: error: #error "wxUSE_LOG must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:156:9: error: #error "wxUSE_LONGLONG must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:164:9: error: #error "wxUSE_MIMETYPE must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:180:9: error: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:188:9: error: #error "wxUSE_PROTOCOL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:230:9: error: #error "wxUSE_REGEX must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:238:9: error: #error "wxUSE_STDPATHS must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:246:9: error: #error "wxUSE_XML must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:254:9: error: #error "wxUSE_SOCKETS must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:262:9: error: #error "wxUSE_STREAMS must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:270:9: error: #error "wxUSE_STOPWATCH must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:278:9: error: #error "wxUSE_TEXTBUFFER must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:286:9: error: #error "wxUSE_TEXTFILE must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:302:9: error: #error "wxUSE_URL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:310:9: error: #error "wxUSE_VARIANT must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:330:9: error: #error "wxUSE_ABOUTDLG must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:338:9: error: #error "wxUSE_ACCEL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:346:9: error: #error "wxUSE_ANIMATIONCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:354:9: error: #error "wxUSE_BITMAPCOMBOBOX must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:362:9: error: #error "wxUSE_BMPBUTTON must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:370:9: error: #error "wxUSE_BUTTON must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:378:9: error: #error "wxUSE_CALENDARCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:386:9: error: #error "wxUSE_CARET must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:394:9: error: #error "wxUSE_CHECKBOX must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:410:9: error: #error "wxUSE_CHOICE must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:418:9: error: #error "wxUSE_CHOICEBOOK must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:426:9: error: #error "wxUSE_CHOICEDLG must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:434:9: error: #error "wxUSE_CLIPBOARD must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:442:9: error: #error "wxUSE_COLLPANE must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:450:9: error: #error "wxUSE_COLOURDLG must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:458:9: error: #error "wxUSE_COLOURPICKERCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:466:9: error: #error "wxUSE_COMBOBOX must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:474:9: error: #error "wxUSE_COMBOCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:482:9: error: #error "wxUSE_DATAOBJ must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:490:9: error: #error "wxUSE_DATAVIEWCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:498:9: error: #error "wxUSE_DATEPICKCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:506:9: error: #error "wxUSE_DIRPICKERCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:514:9: error: #error "wxUSE_DISPLAY must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:522:9: error: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:530:9: error: #error "wxUSE_FILEDLG must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:538:9: error: #error "wxUSE_FILEPICKERCTRL must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:546:9: error: #error "wxUSE_FONTDLG must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:554:9: error: #error "wxUSE_FONTMAP must be defined."
C:\wxWidgets-2.8.11\include/wx/chkconf.h:562:9: error: #error "wxUSE_FONTPICKERCTRL must be defined."
Process terminated with status 1 (0 minutes, 6 seconds)
50 errors, 0 warnings
 "

so what is wrong?

Thanks all for help



wanted to upload a pick of 33kb, but says the folder is full. would have shown the errors

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: help : error with no code added
« Reply #1 on: March 28, 2011, 04:15:09 am »
You may want to try the wxWindowsQuickRef.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline michellembrodeur

  • Single posting newcomer
  • *
  • Posts: 5
Re: help : error with no code added
« Reply #2 on: March 28, 2011, 08:54:45 pm »
Thanks that worked.

I had to uninstall everything, including QT to be safe.

Then I bought JV16 latest version owned 2009 but updated it.

rebooted.

followed thoughs steps it worked.

thanks again.