User forums > General (but related to Code::Blocks)
wxWidgets project in Ubuntu Linux: wx-config error. Unknown flags.
Pecan:
--- Quote from: momaa on February 05, 2007, 02:26:44 pm ---Could we have 2 selections in the wxWidgets' wizard.
o....Create a basic wxWidgets application.
o.....Create wxWidgets application with advanced options (expert mode).
---------------------------
The first option will simply create a functional basic form with minimum wx-config arguments. The second option will ask the user what features (wx-config options) to include and compile with.
--- End quote ---
I also vote for a simple basic `wx-config --cflags` and `wx-config --libs`
On Linux it took me about 20 minutes to figure out why my simple test pgm was getting all those debug and wierd errors I'd never seen before.
I had to remove the wizard and replace it with an older version to figure out where the problems were.
I don't think a wizard should be causing more problems, as opposed to being a help. Introducing all these features should serve the users better on an advanced page I think.
Biplab:
Ok. I'll rearrange the page. Please wait for the update.
--- Quote from: Pecan on February 06, 2007, 05:23:36 am ---On Linux it took me about 20 minutes to figure out why my simple test pgm was getting all those debug and wierd errors I'd never seen before.
--- End quote ---
If user installs wx-libs in Linux then they should be knowing the configurations.
--- Quote from: Pecan on February 06, 2007, 05:23:36 am ---I don't think a wizard should be causing more problems, as opposed to being a help. Introducing all these features should serve the users better on an advanced page I think.
--- End quote ---
NO, Wizard's intention is not to create more problems. Rather it's intention is to help users. Honestly speaking please don't blame the wizard because you are unaware of the wx-lib configuration that your system have.
--- Quote from: Pecan on February 06, 2007, 05:23:36 am ---I also vote for a simple basic `wx-config --cflags` and `wx-config --libs`
--- End quote ---
wx-config --cflags will use the default configuration. What is your opinion on Debug and Release Target? Means do you think it would be appropriate to add same command both in Debug and Release Target?
Regards,
Biplab
mandrav:
Biplab, the only way you could satisfy everyone would be to add a single checkbox labeled "Use default wxWidgets settings" which, if checked, would use `wx-config --cflags` and `wx-config --libs` for both targets. Then newbies wouldn't get confused and more advanced users would use the other options.
Biplab:
--- Quote from: mandrav on February 06, 2007, 08:55:33 am ---Biplab, the only way you could satisfy everyone would be to add a single checkbox labeled "Use default wxWidgets settings" which, if checked, would use `wx-config --cflags` and `wx-config --libs` for both targets. Then newbies wouldn't get confused and more advanced users would use the other options.
--- End quote ---
Thanks for the suggestion. :D
I have already regrouped it, but I've kept it in a single page. Is there any way to disable/enable a part of wizard page dynamically (means as soon as an user selects an option)?
If it's not possible, then I'll split it into two pages. :)
mandrav:
--- Quote ---Is there any way to disable/enable a part of wizard page dynamically (means as soon as an user selects an option)?
--- End quote ---
Hehe, as a matter of fact it aready is possible ;).
When clicking any button/checkbox/combobox/choice/listbox/radiobox in your XRC page, the script function OnClick_<control_name> is called. In there, you can use Wizard.EnableWindow(_T("control_name"), true/false) to enable/disable any control on the page.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version