code::blocks + WxWidgets setup

Code::Blocks is a free/open source, cross platform IDE. It comes with a RAD tool called WxSmith which allows you to build GUI easily with wxWidgets.
On windows:
download binary release codeblocks-8.02mingw-setup.exe
This file includes the GCC compiler and GDB debugger from MinGW.

settings->Compiler and debugger... ->Toolchain executables,
change the default "c:\MinGW" to "C:\Program Files\CodeBlocks\MinGW" or wherever your compiler is installed.

if the path here is incorrect, you'll get "... uses an invalid compiler. Skipping..." error

wxWidgets
is one of the most popular widget toolkit for creating graphical user interfaces (GUIs) for cross-platform applications.

Using wxpack is recommended, which can be downloaded here
wxPack comes with wxWidgets source and binaries pre-built with selected compilers (VC7.1 and gcc) so the developer doesn't need to build it. Building wxWidgets is a long and sometimes difficult task and wxPack takes all the work out of using wxWidgets.

The default path of wxwidgets is : C:\SourceCode\Libraries\wxWidgets2.8

To integrate wxwidgets with Code::Blocks, go to settings->Global variables...
under Builtin fields->base, enter C:\SourceCode\Libraries\wxWidgets2.8
make sure the "current variable" is "wx"

To test if everything is correct, create a new project using wxWidgets wizards. You can follow the examples here.


Comments

arty damp

W e _ a r e _ v e r y _ s o r r y _ f o r _ a n y _ i n c o n v i n i e n c e _ c a u s e d _ t o _ y o u _ b y _ o u r _ m e s s a g e . W e _ w e r e _ s e e k i n g _ f o r _ o l d _ " n o b o d y ' s " _ w e b s i t e s . _ I f _ i t ' s _ a _ m i s t a k e _ a n d _ w e _ d i s t u r b e d _ y o u , _ p l e a s e _ d e l e t e _ o u r _ m e s s a g e , _ a n d _ w e ' l l _ n e v e r _ r e t u r n _ h e r e . O n e _ m o r e _ t i m e , _ s o r r y _ f o r _ a n y _ t r o u b l e s _ t h a t _ w e ' v e _ c a u s e d _ b y _ o u r _ a c t i v i t y . viagra online

Re

I realy like your professional data! Could you create the term paper thesis for example? Because I do know that a great essays online service would write essays of supreme quality.

I agree

Thanks! If you are trying to locate files which are stored on the Rapidshare server, I recommend to try rapidsharemix - Rapidshare Search engine now!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Back to top