User forums > Help
Wxwidgets 2.8.3 setup???
code2d:
I am trying to setup wxwidgets. I go to new project. And then wxwidgets app. I go through the setup pages but when I get to the page global variable editor I don't now what to do.
What so you do???
TDragon:
It sounds like you kept the default global-variable-based wxWidgets installation directory during the wxWidgets wizard -- the page that had the "wxWidgets' location" text field, which probably contained something like "$(#wx)". This refers to Code::Blocks' global variables feature, which lets you reference a certain location in as many places in your projects as you like, but still be able to change it easily from the Global Variable Editor. It's a good way to do it.
So now that you told the wxWidgets wizard to use the global variable #wx (or whatever it was you chose), Code::Blocks needs you to define exactly what the location for #wx is -- the place where you installed wxWidgets. The field labeled base is the only one you need to fill in, so just hit the "..." button next to it and choose the place where you installed wxWidgets. It's probably something like "C:\wxMSW-2.8.3". Then hit the Close button to dismiss the Global Variables Editor, and your project should be ready to compile!
Cheers,
JohnE / TDM
code2d:
I am having the problem that a message box comes up that says "the matching debug configiration cannot be found in the wxwidgets directory you specified. This means that debug target of your project will not build" And the same for release???
TDragon:
Have you tried building the project? If it works, the wizard is wrong. If it doesn't work, the wizard is correct and you need to change the settings you select in it to match the version of wxWidget's you've installed.
wxWidgets is a complex API and platform that you cannot merely install and start coding with. It's a good idea for you to read the Windows installation documentation and wxWidgets introductory documentation thoroughly. Particularly, you should understand the different configurations of wxWidgets that can be built (static vs. shared, multilib vs. monolithic, ANSI vs. Unicode, debug vs. release), which particular configuration you've installed, and how the options in Code::Blocks' wxWidgets wizard relate to it.
The Code::Blocks wiki also contains some good information on installing and using wxWidgets.
-JohnE / TDM
code2d:
I tried to build my project and it did not work. I went to the wiki and only found pages on installing code blocks.
I will try looking at the docs but the error seems strange.
Navigation
[0] Message Index
[#] Next page
Go to full version