Difference between revisions of "Compiling wxWidgets with MinGW"
Jump to navigation
Jump to search
m (→Install MinGW: Window -> Windows) |
(Updated to 2.8.9 and added a build output section) |
||
Line 8: | Line 8: | ||
|- | |- | ||
|Windows XP | |Windows XP | ||
− | |<font color="green">2.8. | + | |2.8.8<br><font color="green">2.8.9</font> |
|<font color="green">5.1.4</font> | |<font color="green">5.1.4</font> | ||
|- | |- | ||
Line 47: | Line 47: | ||
{{Note|For more information on the <tt>UNICODE</tt> and <tt>BUILD</tt> options, see [[WxWidgets Build Configurations]].}} | {{Note|For more information on the <tt>UNICODE</tt> and <tt>BUILD</tt> options, see [[WxWidgets Build Configurations]].}} | ||
+ | |||
+ | == Build Output == | ||
+ | |||
+ | In the example above a DLL was created under <tt>\lib\gcc_dll</tt>. The resultant <tt>setup.h</tt> file can be found under <tt>\lib\gcc_dll\mswu\wx</tt> | ||
== See Also == | == See Also == |
Revision as of 09:42, 26 December 2008
This article applies to the following versions | ||
Platform | wxWidgets | MinGW |
---|---|---|
Windows XP | 2.8.8 2.8.9 |
5.1.4 |
Status: Up to Date |
Related Articles |
---|
Using Makefiles to compile wxWidgets |
Install MinGW
Please follow the steps described in Installing MinGW under Windows.
Download and Install wxWidgets
See Downloading and installing wxWidgets.
Build the library
Open the command prompt (Start > Run... > cmd). Change the directory to the build\msw folder. For example:
CD wx\\wx288\\build\\msw
Clean up the source:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean
Then, compile the library:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
Note: For more information on the UNICODE and BUILD options, see WxWidgets Build Configurations. |
Build Output
In the example above a DLL was created under \lib\gcc_dll. The resultant setup.h file can be found under \lib\gcc_dll\mswu\wx
See Also
Understanding wxWidgets Build Scheme
Precompiled Headers in MinGW
External Links
Code::Block's WxWindowsQuickRef
Compiling wxWidgets 2.8.6 to develop Code::Blocks (MSW)