Compiling wxWidgets in Mac OSX

./configure --disable-shared (if you are targeting ppc and x86 then use --enable-universal_binary --with_mac as well)

make

sudo make install

If you want the wxWidgets library to be built with different option you can use the following parameters for configure:

--enable-universal_binary --with_mac (for universal support)

--enable-unicode (Unicode Library)

--with-opengl (For OpenGL Support )

--disable-shared (For Static Library)

for all options you can type ./configure --help

Compiling wxWidgets in Ubuntu Linux

Download and Unpack wxWidgets source

Apt-get Build-Essentials in Ubuntu (Change the Apt-Get source if it is mapped to local CDROM, otherwise you wont see the build-essentials listed in the )

In wxWidgets Source Folder , execute

./configure --disable-shared

make

sudo make install

ldconfig (in some Linux machines)

If you want the wxWidgets library to be built with different options you can use the following parameters for configure:

--enable-unicode (Unicode Library)

--with-opengl (For OpenGL Support )

--disable-shared (For Static Library)

for all options you can type ./configure --help

Compiling wxWidgets in Windows

Download and Unpack wxWidgets source

Use VC++ IDE to open the wxWidgets project file {$wxWidgetsFolder}\build\msw\wx.dsw

If you are using Visual Studio 2003 or greater then you will be prompted to conver the VC++ 6.0 project.

In VC++ 6.0, Select all the projects in the File View and Right click and select 'Settings' menu item.

Then click the C/C++ tab and select 'Code Generation' item in the Category Combobox.

For the "Win32 Debug" setting (which can be accessed and changed from the left hand top corner combobox), select the "Use Runtime Library" as "Debug Multithreaded". This option will use create a static library of the wxWidgets, if you leave the default then you need to distribute the wxWidgets dll files along with your application.

Similarly Change the settings to "Multithreaded" for Release mode setting

Once you select this for the debug and release mode, click the "Build" Menu and select the "Batch Build" Menuitem.

Now select all the debug and release projects and click "Build"

Similarly you can build the Unicode builds.

For Visual Studio 2003 and higher select the projects and select the Properties menu and Expand the Configuration Properties to choose the C/C++ item to make change the runtime options