configuring flags
Manuel Martín
mmartin at ceyd.es
Wed Jan 10 12:06:09 PST 2007
>Hi all. I did not succeed in compiling wxwidgets with Mingw
Hi
I use wx 2.8.0 but I've got not problems doing:
1) You must set an enviroment variable to your Mingw executable
directory, i.e. PATH= C:\MinGW\bin
2) Open a dos box and type something like
> cd c:\wx280\build\msw
> mingw32-make -f makefile.gcc BUILD=release UNICODE=1 RUNTIME_LIBS=static
3) After a while, you got a release version of wx
Note if you use gcc 4.1.1 you also need to change src/msw/ole/activex.cpp
inserting "#if 0" at the top of it and "#endif" at the bottom.
This way, you can't use active controls, but ...
If you also use CodeBlocks look at this video:
http://wxwidgets.info/?q=wxwidgets_and_codeblocks_video_win
HTH
Manolo
More information about the wx-users
mailing list