[Jderobot] Error while compiling

JoseMaria Cañas Plaza josemaria.plaza en gmail.com
Jue Mar 19 22:12:57 CET 2015


Hi Sahil,

are you following the steps in [1]? In addition, we are working with Ice
3.4 release (not the brand new 3.5)

Cheers,

JoseMaria
[1] http://jderobot.org/Manual-5#Compile_and_Install_JdeRobot_5_with_CMake

On Wed, Mar 18, 2015 at 9:40 PM, Sahil Shah <sahilshah5 en outlook.com> wrote:

> This is the Error I am getting while executing make command.
>
> Please help!
>
>
>
> In file included from /usr/include/Ice/LocalObjectF.h:15:0,
>                  from
> /home/sahil/JdeRobot/src/stable/interfaces/slice/jderobot/../../cpp/jderobot/bodymotors.h:24,
>                  from
> /home/sahil/JdeRobot/src/stable/interfaces/cpp/jderobot/bodymotors.cpp:3:
> /usr/include/Ice/Handle.h: In instantiation of
> ‘IceInternal::Handle<T>::Handle(const IceInternal::Handle<T>&) [with T =
> jderobot::BodyMotors]’:
> /usr/include/Ice/Handle.h:198:47:   required from ‘static
> IceInternal::Handle<T> IceInternal::Handle<T>::dynamicCast(const
> IceUtil::HandleBase<Y>&) [with Y = Ice::Object; T = jderobot::BodyMotors]’
> /home/sahil/JdeRobot/src/stable/interfaces/cpp/jderobot/bodymotors.cpp:821:50:
>   required from here
> /usr/include/Ice/Handle.h:98:30: error: ‘upCast’ was not declared in this
> scope, and no declarations were found by argument-dependent lookup at the
> point of instantiation [-fpermissive]
>              upCast(this->_ptr)->__incRef();
>                               ^
> /home/sahil/JdeRobot/src/stable/interfaces/cpp/jderobot/bodymotors.cpp:29:26:
> note: ‘IceProxy::Ice::Object*
> IceInternal::upCast(IceProxy::jderobot::BodyMotors*)’ declared here, later
> in the translation unit
>  ::IceProxy::Ice::Object*
> IceInternal::upCast(::IceProxy::jderobot::BodyMotors* p) { return p; }
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>


-- 
Universidad Rey Juan Carlos
http://gsyc.urjc.es/jmplaza
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150319/7850dc61/attachment.htm 


More information about the Jde-developers mailing list