Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: joebats72 on November 15, 2010, 05:30:51 am

Title: cannot create GUI using WXwidget or QT
Post by: joebats72 on November 15, 2010, 05:30:51 am
Hi, I just downloaded your software and cannot create a gui project. I have wxwigdet (v2.9) and QT libraries(2010.05) installed, but when I go thru the wizard it returns an error that the path to the libraries are invalid. Bottom line is - I cant get a GUI app to compile with the libraries I have installed. Also I get this error: "A matching debug configuration cannot be found in the wxWidgets directory..."
Can someone please help? :(

Title: Re: cannot create GUI using WXwidget or QT
Post by: xunxun on November 15, 2010, 06:06:51 am
Do you configure the wx Global viariable and do you compile the wxwidgets debug lib&dll?
Title: Re: cannot create GUI using WXwidget or QT
Post by: ollydbg on November 15, 2010, 06:09:51 am
Hi, I just downloaded your software and cannot create a gui project. I have wxwigdet (v2.9) and QT libraries(2010.05) installed, but when I go thru the wizard it returns an error that the path to the libraries are invalid. Bottom line is - I cant get a GUI app to compile with the libraries I have installed. Also I get this error: "A matching debug configuration cannot be found in the wxWidgets directory..."
Can someone please help? :(



I only use wxWidget 2.8.x, here is my suggestion.

1. did you define the wx variable in the settings->global variables?
2, did you install a debug version library of wxwidget?
from this
Quote
"A matching debug configuration cannot be found in the wxWidgets directory..."
seems you need a debug version wxwidget library.


Title: Re: cannot create GUI using WXwidget or QT
Post by: joebats72 on November 16, 2010, 12:18:26 pm
Hi Thanks for your reply. In the Global Variable Editor, I have 2 options: 'wx' and 'qt4'. I changed the variable to 'wx' in the dropdown but its not saving after I close the window. Also, I have the following settings for these fields:Base directory is C:\wxWidgets-2.9.1; Include is C:\wxWidgets-2.9.1\include; lib is C:\wxWidgets-2.9.1\lib; obj is blank - does this need a directory as well? Should I switch to widgets v2.8 and would this enable the GUI designer? Thanks again, please provide some suggestions.
Title: Re: cannot create GUI using WXwidget or QT
Post by: stahta01 on November 16, 2010, 04:06:21 pm
Hi Thanks for your reply. In the Global Variable Editor, I have 2 options: 'wx' and 'qt4'. I changed the variable to 'wx' in the dropdown but its not saving after I close the window. Also, I have the following settings for these fields:Base directory is C:\wxWidgets-2.9.1; Include is C:\wxWidgets-2.9.1\include; lib is C:\wxWidgets-2.9.1\lib; obj is blank - does this need a directory as well? Should I switch to widgets v2.8 and would this enable the GUI designer? Thanks again, please provide some suggestions.

For the Global Variable "wx" only the base path needs to be defined.

http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef

Tim S.