[ros-users] database_interface broken?
Matei Ciocarlie
matei at willowgarage.com
Fri Apr 22 23:52:58 UTC 2011
Hmm.. interesting. It definitely works fine for me. Maybe your
compiler is more strict than what we use?
That line is only intended to make the class non-assignable, you
should be able to comment it out with no negative effects. Can you
give that a try?
Matei
On Thu, Apr 21, 2011 at 11:37 AM, Ugo Cupcic <ugo at shadowrobot.com> wrote:
> 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
>
> _______________________________________________
> 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
More information about the ros-users
mailing list