Hi
Ok I tried checking out from cvs and using the ccmake build - I got a
different error now. I kept a detailed log of what I did here:
http://linfiniti.com/timwiki/Witty_Web_Tool_Kit
Scanning dependencies of target xl
Building CXX object xlobject/src/CMakeFiles/xl.dir/baseobject.o
Linking CXX static library libxl.a
Scanning dependencies of target wt
In file included from ../src/wt/WInteractWidget.C:6:
../src/wt/WInteractWidget:10:22: error: WWebWidget: No such file or directory
../src/wt/WInteractWidget:18: error: expected class-name before '{' token
../src/wt/WInteractWidget:22: error: expected `)' before '*' token
../src/wt/WInteractWidget:27: error: expected `:' before 'signals'
../src/wt/WInteractWidget:37: error: 'Wt' has not been declared
../src/wt/WInteractWidget:37: error: 'Signal' was not declared in this scope
../src/wt/WInteractWidget:37: error: expected primary-expression before 'int'
../src/wt/WInteractWidget:37: error: ISO C++ forbids declaration of
'signals' with no type
../src/wt/WInteractWidget:37: error: expected ';' before 'int'
../src/wt/WInteractWidget:46: error: 'Wt' has not been declared
../src/wt/WInteractWidget:46: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:46: error: expected ';' before '<' token
../src/wt/WInteractWidget:55: error: 'Wt' has not been declared
../src/wt/WInteractWidget:55: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:55: error: expected ';' before '<' token
../src/wt/WInteractWidget:62: error: 'Wt' has not been declared
../src/wt/WInteractWidget:62: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:62: error: expected ';' before '<' token
../src/wt/WInteractWidget:67: error: 'Wt' has not been declared
../src/wt/WInteractWidget:67: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:67: error: expected ';' before '<' token
../src/wt/WInteractWidget:72: error: 'Wt' has not been declared
../src/wt/WInteractWidget:72: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:72: error: expected ';' before '<' token
../src/wt/WInteractWidget:77: error: 'Wt' has not been declared
../src/wt/WInteractWidget:77: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:77: error: expected ';' before '<' token
../src/wt/WInteractWidget:81: error: 'Wt' has not been declared
../src/wt/WInteractWidget:81: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:81: error: expected ';' before '<' token
../src/wt/WInteractWidget:85: error: 'Wt' has not been declared
../src/wt/WInteractWidget:85: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:85: error: expected ';' before '<' token
../src/wt/WInteractWidget:89: error: 'Wt' has not been declared
../src/wt/WInteractWidget:89: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:89: error: expected ';' before '<' token
../src/wt/WInteractWidget:92: error: 'Wt' has not been declared
../src/wt/WInteractWidget:92: error: ISO C++ forbids declaration of
'Signal' with no type
../src/wt/WInteractWidget:92: error: expected ';' before '<' token
../src/wt/WInteractWidget:94: error: expected `:' before 'slots'
../src/wt/WInteractWidget:95: error: expected primary-expression before 'void'
../src/wt/WInteractWidget:95: error: ISO C++ forbids declaration of
'slots' with no type
../src/wt/WInteractWidget:95: error: expected ';' before 'void'
../src/wt/WInteractWidget:101: error: 'DomElement' has not been declared
../src/wt/WInteractWidget.C:8: error: expected `)' before '*' token
../src/wt/WInteractWidget.C:45: error: variable or field 'updateDom'
declared void
../src/wt/WInteractWidget.C:45: error: 'int
WInteractWidget::updateDom' is not a static member of 'class
WInteractWidget'
../src/wt/WInteractWidget.C:45: error: 'DomElement' was not declared
in this scope
../src/wt/WInteractWidget.C:45: error: 'element' was not declared in this scope
../src/wt/WInteractWidget.C:45: error: expected primary-expression before 'bool'
../src/wt/WInteractWidget.C:45: error: initializer expression list
treated as compound expression
../src/wt/WInteractWidget.C:46: error: expected ',' or ';' before '{' token
../src/wt/WInteractWidget.C:69: error: no 'void
WInteractWidget::gotClick()' member function declared in class
'WInteractWidget'
../src/wt/WInteractWidget.C: In member function 'void
WInteractWidget::gotClick()':
../src/wt/WInteractWidget.C:71: error: 'clickData' was not declared in
this scope
../src/wt/WInteractWidget.C:71: error: 'emit' was not declared in this scope
make[2]: *** [../src/wt/WInteractWidget] Error 1
make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
make: *** [all] Error 2
Many thanks once again...
Regards
Tim
On 7/14/06, xynopsis <xynopsis@...> wrote:
> Tim,
>
> You may also try to get the bleeding edge development
> release via the CVS repository instead of the stock
> release (1.1.3). Last time, I checked, it seemed to
> fix CgiParser compilation problem you mentioned.
> Please check the mailing list archive for this.
>
> Best regards,
>
> --- Tim Sutton <tim@...> wrote:
>
> > Hi
> >
> > Thanks for the reply. I'm using 4.0.3-1ubuntu5. I
> > prefer to use
> > standard packages on my system so Ill have a poke
> > around and see if I
> > can resolve the error before upgrading gcc.
> >
> > Regards
> >
> > Tim
> > On 13/07/2006, at 12:51, xynopsis wrote:
> >
> > > Seems to be another g++ snag. What compiler
> > version
> > > are you using? Please try to download the latest
> > g++
> > > release (as of this writing 4.1.1). This should
> > help
> > > you.
> > >
> > > --- Tim Sutton <tim@...> wrote:
> > >
> > >> Hi all
> > >>
> > >> I'm new to this list - have been watching the Wt
> > >> project for a little
> > >> while (since it was announced on the Qt list) and
> > >> have finally got a
> > >> little time to try to get it set up and try out
> > the
> > >> examples etc.
> > >> However I'm having build problems :-( (On ubuntu
> > >> dapper):
> > >>
> > >> I installed the deps as listed on site docs like
> > >> this:
> > >>
> > >> sudo apt-get install libapache2-mod-fastcgi
> > fastcgi
> > >> libfcgi-dev
> > >> libboost libboost-regex-dev libboost-regex1.33.1
> > >> libxml++2.6-dev
> > >> libxml++2.6c2a
> > >>
> > >> I changed the makefile to use www-data for the
> > >> apache user, typed make
> > >> and got this:
> > >>
> > >> -o obj/web/CgiParser.o -c
> > >> src/web/CgiParser.C
> > >> src/web/CgiParser.h:85: error: declaration of
> > >> 'typedef class
> > >> std::map<std::basic_string<char,
> > >> std::char_traits<char>,
> > >> std::allocator<char> >, CgiEntry*,
> > >> std::less<std::basic_string<char,
> > >> std::char_traits<char>, std::allocator<char> > >,
> > >> std::allocator<std::pair<const
> > >> std::basic_string<char,
> > >> std::char_traits<char>, std::allocator<char> >,
> > >> CgiEntry*> > >
> > >> CgiParser::EntryMap'
> > >> src/web/CgiParser.h:66: error: conflicts with
> > >> previous declaration
> > >> 'typedef class std::map<std::basic_string<char,
> > >> std::char_traits<char>, std::allocator<char> >,
> > >> CgiEntry*,
> > >> std::less<std::basic_string<char,
> > >> std::char_traits<char>,
> > >> std::allocator<char> > >,
> > >> std::allocator<std::pair<const
> > >> std::basic_string<char, std::char_traits<char>,
> > >> std::allocator<char>
> > >>
> > >>> , CgiEntry*> > > CgiParser::EntryMap'
> > >>>
> > >> make: *** [obj/web/CgiParser.o] Error 1
> > >>
> > >> This is compiling against the 1.3.1 tarball
> > supplied
> > >> on the witty web
> > >> site.
> > >>
> > >> Any help will be greatly appreciated.
> > >>
> > >> Regards
> > >>
> > >> Tim
> > >>
> > >>
> > >> Tim Sutton
> > >> tim@...
> > >>
> > >>
> > >>
> > >>>
> > >>
> > >
> >
> ----------------------------------------------------------------------
> >
> > > ---
> > >> Using Tomcat but need to do more? Need to support
> > >> web services, security?
> > >> Get stuff done quickly with pre-integrated
> > >> technology to make your job easier
> > >> Download IBM WebSphere Application Server v.1.0.1
> > >> based on Apache Geronimo
> > >>
> > > http://sel.as-us.falkag.net/sel?
> > > cmd=lnk&kid=120709&bid=263057&dat=121642
> > >>> _______________________________________________
> > >> witty-interest mailing list
> > >> witty-interest@...
> > >>
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/witty-interest
> > >>
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > >
> > >
> >
> ----------------------------------------------------------------------
> >
> > > ---
> > > Using Tomcat but need to do more? Need to support
> > web services,
> > > security?
> > > Get stuff done quickly with pre-integrated
> > technology to make your
> > > job easier
> > > Download IBM WebSphere Application Server v.1.0.1
> > based on Apache
> > > Geronimo
> > > http://sel.as-us.falkag.net/sel?
> > > cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > witty-interest mailing list
> > > witty-interest@...
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/witty-interest
> >
> > Tim Sutton
> > tim@...
> >
> >
> >
> > >
> >
> -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support
> > web services, security?
> > Get stuff done quickly with pre-integrated
> > technology to make your job easier
> > Download IBM WebSphere Application Server v.1.0.1
> > based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > witty-interest mailing list
> > witty-interest@...
> >
> https://lists.sourceforge.net/lists/listinfo/witty-interest
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> witty-interest mailing list
> witty-interest@...
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS
Skype: timlinux
MSN: tim_bdworld@...
Yahoo: tim_bdworld@...
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net
|