Yes I followed build instructions given at
http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_Ubuntu#Installing-from-the-official-package
On Fri, May 13, 2011 at 2:08 PM, Wim Dumon <[email protected]> wrote:
> I'm not sure where you get your Form.h and Form.C from, but the line
> numbers are different from my version.
>
> Did you download a Wt release and build the examples as described in
> our build instructions?
>
> BR,
> Wim.
>
> 2011/5/12 Gurpreet Kaur Karwal <[email protected]>:
> > after issuing "make" command I get-
> >
> > Scanning dependencies of target formexample.wt
> > [ 33%] Building CXX object
> > Form/CMakeFiles/formexample.wt.dir/DateValidator.o
> > [ 66%] Building CXX object Form/CMakeFiles/formexample.wt.dir/Form.o
> > /home/gurpreet/public_html/t/Form/Form.C: In member function ‘void
> > Form::createUI()’:
> > /home/gurpreet/public_html/t/Form/Form.C:89: error: cannot convert
> > ‘Wt::WLineEdit*’ to ‘Wt::WDatePicker*’ in assignment
> > /home/gurpreet/public_html/t/Form/Form.C:91: error: no matching function
> for
> > call to ‘Wt::WLabel::setBuddy(Wt::WDatePicker*&)’
> > /usr/include/Wt/WLabel:62: note: candidates are: void
> > Wt::WLabel::setBuddy(Wt::WFormWidget*)
> > /usr/include/Wt/WLabel:71: note: void
> > Wt::WLabel::setBuddy(Wt::Ext::FormField*)
> > /home/gurpreet/public_html/t/Form/Form.C:92: error: ‘class
> Wt::WDatePicker’
> > has no member named ‘setValidator’
> > /home/gurpreet/public_html/t/Form/Form.C:94: error: ‘class
> Wt::WDatePicker’
> > has no member named ‘validator’
> > /home/gurpreet/public_html/t/Form/Form.C:98: error: no matching function
> for
> > call to ‘Wt::WDatePicker::WDatePicker(Wt::WText*, Wt::WDatePicker*&,
> bool,
> > Wt::WTableCell*)’
> > /usr/include/Wt/WDatePicker:54: note: candidates are:
> > Wt::WDatePicker::WDatePicker(Wt::WInteractWidget*, Wt::WLineEdit*, bool,
> > Wt::WContainerWidget*)
> > /usr/include/Wt/WDatePicker:40: note:
> > Wt::WDatePicker::WDatePicker(const Wt::WDatePicker&)
> > /home/gurpreet/public_html/t/Form/Form.C: In member function ‘bool
> > Form::validate()’:
> > /home/gurpreet/public_html/t/Form/Form.C:191: error: no matching function
> > for call to ‘Form::checkValid(Wt::WDatePicker*&, Wt::WString)’
> > /home/gurpreet/public_html/t/Form/Form.C:165: note: candidates are: bool
> > Form::checkValid(Wt::WFormWidget*, const Wt::WMessage&)
> > make[2]: *** [Form/CMakeFiles/formexample.wt.dir/Form.o] Error 1
> > make[1]: *** [Form/CMakeFiles/formexample.wt.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > Earlier the errors I mentioned were from the project where I included
> just
> > Form.h and Form.C, these errors occur after I included all the files
> given
> > in examples by default.
> > Am I missing any library or something??
> >
> >
> > On Thu, May 12, 2011 at 3:00 PM, Wim Dumon <[email protected]> wrote:
> >>
> >> Hi Gurpreet,
> >>
> >> Can you show the complete file + compilation parameters and the
> >> complete error when reporting compilation errors? It's nearly
> >> impossible to find this out without proper reference (line numbers,
> >> context, ...).
> >>
> >> Thank you,
> >> Wim.
> >>
> >> 2011/5/9 Gurpreet Kaur Karwal <[email protected]>:
> >> > In Form Example given in
> >> >
> >> > http://www.webtoolkit.eu/wt/doc/examples/html/classForm.html#_details
> >> >
> >> > when I issue "make" command the following errors occur-
> >> >
> >> > In member function ‘void Form::createUI()’: error: invalid use of
> >> > ‘void’
> >> > no
> >> > match
> >> > for call to ‘(Wt::EventSignal<Wt::WMouseEvent>) ()’
> >> >
> note:
> >> > candidates are: void Wt::EventSignal<E>::operator()(E) [with E =
> >> > Wt::WMouseEvent]
> >> >
> >> >
> >> > Why do I encounter these errors though I havn't changed the source
> code?
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > WhatsUp Gold - Download Free Network Management Software
> >> > The most intuitive, comprehensive, and cost-effective network
> >> > management toolset available today. Delivers lowest initial
> >> > acquisition cost and overall TCO of any competing solution.
> >> > http://p.sf.net/sfu/whatsupgold-sd
> >> > _______________________________________________
> >> > witty-interest mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/witty-interest
> >> >
> >> >
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Achieve unprecedented app performance and reliability
> >> What every C/C++ and Fortran developer should know.
> >> Learn how Intel has extended the reach of its next-generation tools
> >> to help boost performance applications - inlcuding clusters.
> >> http://p.sf.net/sfu/intel-dev2devmay
> >> _______________________________________________
> >> witty-interest mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/witty-interest
> >
> >
> >
> ------------------------------------------------------------------------------
> > Achieve unprecedented app performance and reliability
> > What every C/C++ and Fortran developer should know.
> > Learn how Intel has extended the reach of its next-generation tools
> > to help boost performance applications - inlcuding clusters.
> > http://p.sf.net/sfu/intel-dev2devmay
> > _______________________________________________
> > witty-interest mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/witty-interest
> >
> >
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest