[JdeRobot] Error in compilation

Victor Arribas v.arribas.urjc at gmail.com
Wed Apr 20 22:16:41 CEST 2016


Hello Manuel,

Going back to initial error "Pose3DI::xyzT = {0, 0, 0}", I think you lack
c++0 or c++11 flag/support.
Since c++0 you can initialize structs with {}
This kind on complain will happen at c++99

Try to verify it.


2016-04-04 10:57 GMT+02:00 Manuel Zafra <mazafrav en gmail.com>:

> I'm using a native Ubuntu 14.04. I tried deactivating /ardrone_server/ but
> /kobukiViewer/ threw an error, so i tried compiling just /gazeboserver/
> which is the component i need, and i got another error:
>
> In file included from
>
> /home/manu/JdeRobot/src/stable/components/gazeboserver/plugins/quadrotor2/include/quadrotor/interfaces/dronecontroli.h:27:0,
>                  from
>
> /home/manu/JdeRobot/src/stable/components/gazeboserver/plugins/quadrotor2/include/quadrotor/quadrotorice.hh:34,
>                  from
>
> /home/manu/JdeRobot/src/stable/components/gazeboserver/plugins/quadrotor2/include/quadrotor/quadrotorplugin.hh:31,
>                  from
>
> /home/manu/JdeRobot/src/stable/components/gazeboserver/plugins/quadrotor2/src/quadrotorplugin.cc:22:
>
> /home/manu/JdeRobot/src/stable/components/gazeboserver/plugins/quadrotor2/include/quadrotor/cameraproxy.hh:60:26:
> error: ISO C++ forbids initialization of member ‘active_camera’
> [-fpermissive]
>
> /home/manu/JdeRobot/src/stable/components/gazeboserver/plugins/quadrotor2/include/quadrotor/cameraproxy.hh:60:26:
> error: making ‘active_camera’ static [-fpermissive]
>
> /home/manu/JdeRobot/src/stable/components/gazeboserver/plugins/quadrotor2/include/quadrotor/cameraproxy.hh:60:26:
> error: ISO C++ forbids in-class initialization of non-const static member
> ‘active_camera’
> make[2]: ***
>
> [src/stable/components/gazeboserver/plugins/quadrotor2/CMakeFiles/quadrotorplugin2.dir/src/quadrotorplugin.cc.o]
> Error 1
> make[1]: ***
>
> [src/stable/components/gazeboserver/plugins/quadrotor2/CMakeFiles/quadrotorplugin2.dir/all]
> Error 2
> make: *** [all] Error 2
>
>
> Regards and thanks in advance,
> Manuel
>
>
>
>
> --
> View this message in context:
> http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-Error-in-compilation-tp4642992p4642998.html
> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20160420/c16526ef/attachment.htm 


More information about the Jde-developers mailing list