[JdeRobot] Error in compilation

Manuel Zafra mazafrav at gmail.com
Mon Apr 4 10:57:19 CEST 2016


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.


More information about the Jde-developers mailing list