Difference between revisions of "Setting the WX VER variable"

From Code::Blocks
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If, while comepiling Code::Blocks, you get the error: "Couldn't find library -lwxmsw$(WX_VER)" or some such, do this:
+
[[Category:Outdated]]
 +
<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:
 
*Open the build options
 
*Open the build options
 
*Open the "Custom variables" tab
 
*Open the "Custom variables" tab

Latest revision as of 20:24, 11 April 2006

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 :)