wxWidgets & Code::Blocks

Carsten A. Arnholm arnholm at offline.no
Sat Dec 22 16:07:34 PST 2007


Leo wrote:
> Hi!
>
> I am trying to set the wxWidgwets to Code::Blocks and I am not getting
> compile some examples of programs. Who knows which identify the
> problem? Here is the log of the compilation in the Code:: Blocks:
>
> Plataforma: Windows XP
> Versao wx: 2.8.7
> compilador: gcc

Hi,

I think you should perhaps ask in the Code::Blocks forum 
http://forums.codeblocks.org/

In Code::Block you can define global variables (Settings -> Global 
variables...) . I have defined a "wx" variable that points to the root 
directory of wxWidgets 2.8.7. Then you can use the "wx" variable for 
compiler and linker options (Project -> Build options...). There is a 
"Search directories" tab there where you for example have things like

$(#WX.include)
$(#WX.lib)\vc_lib\mswd
(NOTE: I use VC2005 Express on windows, not GCC)

Regards
Carsten A. Arnholm
http://arnholm.org/
N59.776 E10.457








More information about the wx-users mailing list