[ros-users] database_interface broken?

Ugo Cupcic ugo at shadowrobot.com
Thu Apr 21 14:03:30 UTC 2011


Hi,

I can't get the database_interface to compile on my computer. It complains
about some pure virtual functions not being implemented.

I'm using:
https://code.ros.org/svn/wg-ros-pkg/stacks/sql_database/trunk/database_interface

Any ideas?

Cheers,

Ugo

PS: the error is below

In file included from
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_class.h:40:0,
                 from
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/postgresql_database.h:48,
                 from
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/src/postgresql_database.cpp:37:
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:77:21:
error: invalid abstract return type for member function ‘const
database_interface::DBFieldBase
database_interface::DBFieldBase::operator=(const
database_interface::DBFieldBase&)’
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:73:1:
note:   because the following virtual functions are pure within
‘database_interface::DBFieldBase’:
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:121:16:
note: virtual bool database_interface::DBFieldBase::fromString(const
std::string&)
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:123:16:
note: virtual bool database_interface::DBFieldBase::toString(std::string&)
const
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:126:16:
note: virtual bool database_interface::DBFieldBase::fromBinary(const char*,
size_t)
/opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:130:16:
note: virtual bool database_interface::DBFieldBase::toBinary(const char*&,
size_t&) const

-- 
Ugo Cupcic | Shadow Robot Company | ugo at shadowrobot.com
Software Engineer | 251 Liverpool Road |
need a Hand? | London N1 1LX | +44 20 7700 2487
http://www.shadowrobot.com/hand/ @shadowrobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110421/ab6bf13b/attachment-0001.html>


More information about the ros-users mailing list