News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

cannot create GUI using WXwidget or QT

Started by joebats72, November 15, 2010, 05:30:51 AM

Previous topic - Next topic

joebats72

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? :(


xunxun

Do you configure the wx Global viariable and do you compile the wxwidgets debug lib&dll?
Regards,
xunxun

ollydbg

Quote from: 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? :(



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.


If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

joebats72

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.

stahta01

Quote from: 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.

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

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

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]