User forums > Help

Setting up code blocks so that I can compile wxwidgets programs.

<< < (4/10) > >>

Xaviou:
Hi'
I wrote a small tut for setting up C::B and wxWidgets 2.6.3.
I just explain how to obtain DevPacks, how to unpack it, and how to use it with C::B
You can get it here : http://www.cppfrance.com/codes/UTILISATION-WXWIDGETS-SOUS-CODE-BLOCKS_36817.aspx
I'm sorry, but it's in french, but it may help you.
If you need a translation of it, I can do it for you, but I think you've heard about french peoples and foreign languages... :?

djsbriscoe:
Hi,
I've just compiled wxwidgets 2.6.2.
The following warning kept appearing during compilation

warning:type attributes are honored only at type definition.

Is this anything to worry about?

The final line was

Creating library file: ..\..\lib\gcc_dll\libwxmsw26u.a

Is this a correct result?

Is there anything else I need to do in order to start compiling wxwidget programs?

Thanks,

David.

Michael:

--- Quote from: djsbriscoe on April 12, 2006, 01:10:06 pm ---The following warning kept appearing during compilation

warning:type attributes are honored only at type definition.

Is this anything to worry about?

--- End quote ---

No :).


--- Quote from: djsbriscoe on April 12, 2006, 01:10:06 pm ---The final line was

Creating library file: ..\..\lib\gcc_dll\libwxmsw26u.a

Is this a correct result?

--- End quote ---

If the library has been created, yes :). Look into the gcc_dll repository.

Best wishes,
Michael

djsbriscoe:
Hi,
I'm having problems compiling a sample file called minimal.cpp from the wxwidgets distribution.
I don't really know which wxwidget options to choose when setting up a new project.
I get the following errors/warnings when trying to compile minimal.cpp.
I've set the global variable to c:\wxwidgets-2.6.2 I think. How can I check this?

C:\wxWidgets-2.6.2\include\wx\platform.h:190: wx/setup.h: No such file or directory
C:\wxWidgets-2.6.2\include\wx\chkconf.h:84: #error "wxUSE_DYNLIB_CLASS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:92: #error "wxUSE_EXCEPTIONS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:100: #error "wxUSE_FILESYSTEM must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:113: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:121: #error "wxUSE_LOG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:129: #error "wxUSE_LONGLONG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:137: #error "wxUSE_MIMETYPE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:153: #error "wxUSE_PROTOCOL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:195: #error "wxUSE_REGEX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:203: #error "wxUSE_STDPATHS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:211: #error "wxUSE_XML must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:219: #error "wxUSE_SOCKETS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:227: #error "wxUSE_STREAMS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:235: #error "wxUSE_STOPWATCH must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:243: #error "wxUSE_TEXTBUFFER must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:251: #error "wxUSE_TEXTFILE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:267: #error "wxUSE_URL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:285: #error "wxUSE_ACCEL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:293: #error "wxUSE_BMPBUTTON must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:301: #error "wxUSE_BUTTON must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:309: #error "wxUSE_CALENDARCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:317: #error "wxUSE_CARET must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:325: #error "wxUSE_CHECKBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:341: #error "wxUSE_CHOICE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:349: #error "wxUSE_CHOICEBOOK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:357: #error "wxUSE_CHOICEDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:365: #error "wxUSE_CLIPBOARD must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:373: #error "wxUSE_COLOURDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:381: #error "wxUSE_COMBOBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:389: #error "wxUSE_DATAOBJ must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:397: #error "wxUSE_DATEPICKCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:405: #error "wxUSE_DISPLAY must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:413: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:421: #error "wxUSE_FILEDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:429: #error "wxUSE_FONTDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:437: #error "wxUSE_FONTMAP must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:445: #error "wxUSE_GAUGE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:453: #error "wxUSE_GRID must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:461: #error "wxUSE_HELP must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:469: #error "wxUSE_HTML must be defined."
clude\wx\chkconf.h:477: #error "wxUSE_XRC must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:498: #error "wxUSE_ICO_CUR must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:506: #error "wxUSE_IFF must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:514: #error "wxUSE_IMAGLIST must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:522: #error "wxUSE_JOYSTICK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:530: #error "wxUSE_LISTBOOK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:538: #error "wxUSE_LISTBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:546: #error "wxUSE_LISTCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:554: #error "wxUSE_LOGGUI must be defined."

Can someone give me a clue as to whats wrong?
Thank you all for your patience and any help is appreciated.

David.

tiwag:

--- Quote from: djsbriscoe on April 13, 2006, 11:26:25 am ---C:\wxWidgets-2.6.2\include\wx\platform.h:190: wx/setup.h: No such file or directory

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version