Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxSmith - validators everywhere, maybe...
MortenMacFly:
--- Quote from: eanon on August 21, 2012, 10:04:27 am ---Oh ! oops... So, does it means future wxSmith will be taken in charge by the main C::B dev. team ? Hoping it will be not "abandonned".
--- End quote ---
No, don't worry. In fact since Byo left the team there has been a lot of improvements already. He was "just" the initial coder.
--- Quote from: eanon on August 21, 2012, 10:04:27 am ---do you wish I add "flValidator" in the wxSmith source, then rebuild the DLL and try if it works ? Or do you prefer to send me a patched DLL directly ?
--- End quote ---
No, I meant to remove the line like this:
--- Code: ---wxsFontPickerCtrl::wxsFontPickerCtrl(wxsItemResData* Data):
wxsWidget(
Data,
&Reg.Info,
wxsFontPickerCtrlEvents,
wxsFontPickerCtrlStyles)
{}
--- End code ---
Then compile and run. I cannot provide you with a DLL - mine is incompatible to i.e. nightlies.
Maybe one of the other devs reading this has an objection - if not, I can also just commit after a while of testing and then you'll get this functionality with the next nightly.
eranon:
OK, ouf! ("phew!" in English according to Google translate) for wxSmith ;D
Well, I've checked out "svn://svn.berlios.de/codeblocks/trunk", then loaded "CodeBlocks.workspace" in C::B and selected wxSmith as active project. Well located the code line to modify, but firstly I would like to succeed to build as it is. So, from this point, I've selected the named "wxSmith" target (seems to build the DLL going through GCC compile) and clicked "build"... And I receive these 4 linkage errors (see attached screen-capture) :
cannot find -lwxpropgrid : where does this comes from ?
- cannot find -lwxmsw28u : oops ! Since I've fully switched to 2.9.3, I've deleted all wxWidgets 2.8 tree... Well, I could rebuild, but I would like to be sure to succeed linkage against C::B project at first attempt : so, is there some special GCC options I should take care ?
- cannot find -lcodeblocks : is it because I've to build entire C::B rather ?
- cannot find -lwxsmithlib : is it because I've to build the "wxSmithLib" target before ?
dmoore:
eanon: you have to build C::B itself. activate C::B main project file, make sure target is set to all and then build it. you will also need the wxSmith lib and wx2.8. (Don't think CB is quite ready for 2.9, but close)
Jenna:
--- Quote from: dmoore on August 21, 2012, 10:34:17 pm ---(Don't think CB is quite ready for 2.9, but close)
--- End quote ---
C::B core is, and I have patches fr the most contrib-plugins (including wxSmith).
But the patches just make it possible to compile the plugins, real testing is not (yet) done, because not all plugins compile at the moment (currently I work on wxSmith-ContribItems).
I hope to get first results this week, probably the next weekend.
MortenMacFly:
--- Quote from: eanon on August 21, 2012, 06:34:30 pm ---And I receive these 4 linkage errors (see attached screen-capture) :
--- End quote ---
You should read the WiKi section ("nightly cookbook" or alike) on building C::B.
What needs to be done first is to compile wxwidgets (thaths a one-liner, but long process)
and then compile the whole workspace of C::B - wxSmith depends on the C::B core.
Alternatively you should also be able to link against the DLL's provided with nightlies. In that case its enough to open the wxSmith project file and maybe adjust the path's for the linker. This avoids compiling wxWidgets and C::B core.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version