User forums > Using Code::Blocks

cannot create GUI using WXwidget or QT

(1/1)

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?

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



--- End quote ---

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..."
--- End quote ---
seems you need a debug version wxwidget library.


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.

--- End quote ---

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

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

Tim S.

Navigation

[0] Message Index

Go to full version