Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: fig on June 05, 2008, 07:51:18 pm

Title: wxWidgets problem
Post by: fig on June 05, 2008, 07:51:18 pm
I'm trying to start a wxWidgets project using the new project wizard on Windows.

It works up until the "Please select various configuration options" page, where I get this error dialog..

Code
---------------------------
Warning
---------------------------
A matching Debug configuration cannot be found in the wxWidgets directory you specified.
This means that Debug target of your project will not build.

Are you sure you want to continue with these settings?
---------------------------
Yes   No   
---------------------------

I get the same message for Release configuration too.

As far as I know, everything is installed and set up correctly, but I'm still a bit of a noob with C++.  I just did the same thing in Ubuntu last night and everything went smoothly once I had installed all dependencies.. I was hoping to use wxSmith in Windows since it doesn't seem to be supported in Linux..

Anyone had this problem before or knows how I can fix it?
Title: Re: wxWidgets problem
Post by: Jenna on June 05, 2008, 08:38:54 pm
Code
A matching Debug configuration cannot be found in the wxWidgets directory you specified.
I get the same message for Release configuration too.

It looks like you did not build/install wxwidgets on your computer.

You can have a look here: http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook#wxWidgets (http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook#wxWidgets)

or you have not setup the global wx-variable in C::B correctly to your base wx-directory.

I was hoping to use wxSmith in Windows since it doesn't seem to be supported in Linux..

WxSmith works fine on linux and windows and as far as I know on Mac.
Title: Re: wxWidgets problem
Post by: fig on June 05, 2008, 09:19:09 pm
Quote
It looks like you did not build/install wxwidgets on your computer.

Yeah, I think that's the problem.  I'm building it now. :p

Quote
WxSmith works fine on linux and windows and as far as I know on Mac.

Where could I find out how to get it working on Linux?

Thanks for your help..
Title: Re: wxWidgets problem
Post by: Jenna on June 05, 2008, 09:43:26 pm
Create a new wxWidgets project, if the wizard asks for the preferred gui-builder chose wxSmith.
That's it.

As I see you are on Ubuntu.

Do you use a self-compiled C::B, or binary packages.

If self-compiled, you have to configure the sources for building wxSmith or any other of the contrib-plugins.
Type "./configure --help" in the root-dir of the C::B source-tree for information how to do this.

If you use prebuild binary-packages, you need to install the "codeblocks-contrib" and the "libwxsmithlib0"-package (the first depends on the second).
Title: Re: wxWidgets problem
Post by: rawatlike on August 19, 2008, 09:51:23 am
please tell me how to set global variables in codeblocks
Title: Re: wxWidgets problem
Post by: MortenMacFly on August 19, 2008, 01:01:14 pm
please tell me how to set global variables in codeblocks
http://wiki.codeblocks.org/index.php?title=Global_compiler_variables