[ros-users] database_interface broken?

Ugo Cupcic ugo at shadowrobot.com
Thu Apr 21 18:37:17 UTC 2011


Hi,

I have an overlay which checks out the trunk directly.

Cheers,

Ugo
On 21 Apr 2011 17:40, "Matei Ciocarlie" <matei at willowgarage.com> wrote:
> Hi Ugo,
>
> I'll take a look. Which version are you checking out, and how?
>
> Matei
>
> On Thu, Apr 21, 2011 at 7:03 AM, Ugo Cupcic <ugo at shadowrobot.com> wrote:
>> 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
>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
>
> --
> Matei Ciocarlie
> Research Scientist
> Willow Garage Inc.
> 650-475-9780
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110421/32e3ce0c/attachment-0002.html>


More information about the ros-users mailing list