Difference between revisions of "Setting the WX VER variable"

From CodeBlocks
Jump to: navigation, search
m
Line 1: Line 1:
 +
<div style="margin:0;  border:2px; padding: 2em 2em 2em 2em; background-color:#FFd6c0;">
 +
'''Obsolete:'''<br />
 +
As of November 17, 2005 Code::Blocks HEAD can only be compiled using global user variables (unless you modify the project).<br />
 +
This obviously requires a version of Code::Blocks which supports this feature, i.e. a build from HEAD after November 3, 2005.<br />
 +
No additional setup is required, you will be prompted to enter the location of your wxWidgets installation. Enjoy.
 +
</div>
 +
 +
 +
 
If, while compiling Code::Blocks, you get the error: "Couldn't find library -lwxmsw$(WX_VER)" or some such, do this:
 
If, while compiling Code::Blocks, you get the error: "Couldn't find library -lwxmsw$(WX_VER)" or some such, do this:
 
*Open the build options
 
*Open the build options

Revision as of 12:09, 18 November 2005

Obsolete:
As of November 17, 2005 Code::Blocks HEAD can only be compiled using global user variables (unless you modify the project).
This obviously requires a version of Code::Blocks which supports this feature, i.e. a build from HEAD after November 3, 2005.
No additional setup is required, you will be prompted to enter the location of your wxWidgets installation. Enjoy.


If, while compiling Code::Blocks, you get the error: "Couldn't find library -lwxmsw$(WX_VER)" or some such, do this:

  • Open the build options
  • Open the "Custom variables" tab
  • "Add" a new variable, with the name of (you guessed it) WX_VER
  • Set its value to the appropriate thing, i.e. "242" (without the quotes)

After this, the error should be gone for good :)