Re: [VDKBuilder]Problems with vdkxdb
Brought to you by:
gertwin
From: Mario M. <mm...@gu...> - 2002-10-26 16:31:18
|
Webillo Disperso wrote: Hi. I've just began to use VDKBuilder, which certainly looks promising. I use Mandrake 9 Release Candidate 2, which is very recent. I installed from vdk-2.0.2.tar.gz and vdkbuilder-2.0.3.tar.gz. VDKBuilder works and seems fantastic. For installing vdkxdb from vdkxdb-2.0.1.tar.gz xbase was missing, but this was solved installing xbase-2.0.0-1.i386.rpm and xbase-devel-2.0.0-1.i386.rpm. When compiling vdkxdb from vdkxdb-2.0.1.tar.gz there were compiling errors: ...(warnings)... This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/local/include/vdk2/vdk/abstract_button.h:29, from /usr/local/include/vdk2/vdk/checkbutton.h:33, from ../include/vdkxdb2/vdkxcheckbutton.h:32, from vdkxcheckbutton.cc:29: /usr/local/include/vdk2/vdk/vdkprops.h:117: warning: `VDKReadWriteValueProp<T, S>::operator S() const [with T = VDKObject, S = VDKPoint]' was hidden /usr/local/include/vdk2/vdk/vdkobj.h:122: warning: by `SizeObjectProp::operator VDKPoint()' vdkxcheckbutton.cc:34: default argument given for parameter 2 of `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' ../include/vdkxdb2/vdkxcheckbutton.h:56: after previous specification in `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' vdkxcheckbutton.cc:34: default argument given for parameter 3 of `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' ../include/vdkxdb2/vdkxcheckbutton.h:56: after previous specification in `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' make[2]: *** [vdkxcheckbutton.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 I tried vdkxdb-2.0.0.tar.gz and the same happened: ...(warnings)... In file included from /usr/include/c++/3.2/backward/iostream.h:31, from /usr/include/xbase/xbstring.h:59, from /usr/include/xbase/xdate.h:68, from /usr/include/xbase/xbase.h:108, from ../include/vdkxdb/vdkxctrl.h:31, from ../include/vdkxdb/vdkxcheckbutton.h:31, from vdkxcheckbutton.cc:29: /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/local/include/vdk2/vdk/abstract_button.h:29, from /usr/local/include/vdk2/vdk/checkbutton.h:33, from ../include/vdkxdb/vdkxcheckbutton.h:32, from vdkxcheckbutton.cc:29: /usr/local/include/vdk2/vdk/vdkprops.h:117: warning: `VDKReadWriteValueProp<T, S>::operator S() const [with T = VDKObject, S = VDKPoint]' was hidden /usr/local/include/vdk2/vdk/vdkobj.h:122: warning: by `SizeObjectProp::operator VDKPoint()' vdkxcheckbutton.cc:34: default argument given for parameter 2 of `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' ../include/vdkxdb/vdkxcheckbutton.h:56: after previous specification in `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' vdkxcheckbutton.cc:34: default argument given for parameter 3 of `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' ../include/vdkxdb/vdkxcheckbutton.h:56: after previous specification in `VDKXCheckButton::VDKXCheckButton(VDKForm*, char* = 0, char* = 0)' make[2]: *** [vdkxcheckbutton.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 What can I do? TIA, Marisa Arias. i apologyze for late answer i was out for a while. Let's wait Mandrake 9.0 to upgrade vdk/vdkbuilder, however in the meantime we can correct compilation error: in vdkxcheckbutton at line 34 change to read: #include <vdkxdb2/vdkxcheckbutton.h> VDKXCheckButton::VDKXCheckButton(VDKForm* owner, char* label, char* tip): VDKCheckButton(owner,label,tip), VDKXControl() { } be patient for the warnings most of them concern the new compiler gcc 3.x they will be corrected in the next release. /mario -- Mario Motta AI Research Group - Rimini http://vdkbuilder.sourceforge.net |