Using wxWidgets (MSW) 3.0 Binary with Code::Blocks Scripted Wizard
A reference for using Code::Blocks 13.12 Scripted Wizard for wxWidgets 3.0.2 under Windows with the wxWidgets Binary files
Directions for compilers: MinGW and MSVC are planned
DIRECTIONS ARE STILL UNDER CONTRUCTION
Using any Binary
Step needed for any wxWidgets Binary.
Download the needed header files from wxWidgets SF files page
Redirect link to header files needed for wxWidgets version 3.0.2 wxWidgets-3.0.2_headers.7z
Using TDM GCC Binary
Directions to use Code::Blocks wizard with TDM GCC Binary.
Download the needed binary files from wxWidgets Download page
Redirect link to binary files needed for TDM MinGW GCC 4.7.1 wxWidgets version 3.0.2 wxMSW-3.0.2_gcc471TDM_Dev.7z
Using MSVC Binary
Directions to use Code::Blocks wizard with MSVC Binary.
Download the needed binary files from wxWidgets Download page
Redirect link to the first set of binary files needed for MSVC 2010 (10.0) wxWidgets version 3.0.2 wxMSW-3.0.2_vc100_Dev.7z
Redirect link to the second set of binary files needed for MSVC 2010 (10.0) wxWidgets version 3.0.2 wxMSW-3.0.2_vc100_ReleaseDLL.7z
Extract files
I extracted the files under this folder "C:\test\wx\" ; I did NOT use spaces because it can cause problems sometimes.
Setting up Code::Blocks Global Variable
For GCC TDM 4.7.1
base: C:\test\wx\wxWidgets-3.0.2_headers include: C:\test\wx\wxWidgets-3.0.2_headers\include lib: C:\test\wx\wxMSW-3.0.2_gcc471TDM_Dev\lib
For MSVC 10.0
base: C:\test\wx\wxWidgets-3.0.2_headers include: C:\test\wx\wxWidgets-3.0.2_headers\include lib: C:\test\wx\wxMSW-3.0.2_vc100_Dev\lib bin: C:\test\wx\wxMSW-3.0.2_vc100_ReleaseDLL\lib\vc100_dll
Running the CB Wizard
I used the global variable of wx30; you can use any global variable name. But, wx30 or wx is the two common names.
Editing the CB Project
For all binary projects
Change "$(#wx30)\include" to "$(#wx30.include)" i. Project level: Compiler Search Directory ii. Project level: Resource Compiler Search Directory
For GCC TDM 4.7.1
For MSVC 10.0
b. Add custom variable to each target of WX_COMPILER_VERSION=100 c. Add custom variable to release target of WX_SUFFIX=u d. Add custom variable to debug target of WX_SUFFIX=ud