[JdeRobot] Problem compiling JDE
Lihang Li
licalmer at gmail.com
Sat May 30 06:01:14 CEST 2015
Hi Pranav,
Which platform are you using, like Ubuntu 14.04 or something?
It seems that the issues are related to your PCL installation. How did you
install PCL?
Can you attach the output of your `cmake .` command, thus we can do more
analysis.
Regards,
Lihang
On Sat, May 30, 2015 at 5:54 AM, Pranav Goswami <pranavgeekme at gmail.com>
wrote:
> Hi Developers,
> I am not sure why am i getting this error every time i compile the
> JDErobot source code. i have installed the pcl libraries fresh and how
> should i complie only kinect server (openni1server) part. am i missing
> somthing ?
>
>
>
> [ 78%] Building CXX object
> src/stable/components/gazeboserver/plugins/pioneer/CMakeFiles/motors.dir/motors.cc.o
> In file included from
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.h:15:0,
> from
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.cpp:8:
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:283:88: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 givenIn file
> included from
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.h:15:0,
> from
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.cpp:8:
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:283:88: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
>
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:304:97: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1
> given/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:304:97: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
>
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:327:91: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1
> given/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:327:91: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
>
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:374:81: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1
> given/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:374:81: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
>
> In file included from
> /usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:39:0,
> from
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/pclRGBDServer/kinectServer.cpp:18:
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:283:88: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:304:97: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:327:91: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:374:81: error:
> macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:281:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:302:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:325:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:372:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:281:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:302:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:325:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:372:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> In file included from
> /usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:39:0,
> from
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/pclRGBDServer/kinectServer.cpp:18:
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:281:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:302:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:325:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:372:9: error:
> ‘PCL_DEPRECATED’ does not name a type
> make[2]: ***
> [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewer.dir/JderobotViewer.cpp.o]
> Error 1
> make[1]: ***
> [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewer.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/gazeboserver/plugins/pioneer/motors.cc:
> In member function ‘void gazebo::Motors::OnUpdate()’:
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/gazeboserver/plugins/pioneer/motors.cc:133:26:
> error: ‘class gazebo::physics::Joint’ has no member named ‘SetParam’
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/gazeboserver/plugins/pioneer/motors.cc:134:27:
> error: ‘class gazebo::physics::Joint’ has no member named ‘SetParam’
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/gazeboserver/plugins/pioneer/motors.cc:136:26:
> error: ‘class gazebo::physics::Joint’ has no member named ‘SetParam’
> /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/gazeboserver/plugins/pioneer/motors.cc:137:27:
> error: ‘class gazebo::physics::Joint’ has no member named ‘SetParam’
> make[2]: ***
> [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewerShare.dir/JderobotViewer.cpp.o]
> Error 1
> make[1]: ***
> [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewerShare.dir/all]
> Error 2
> make[2]: ***
> [src/stable/components/gazeboserver/plugins/pioneer/CMakeFiles/motors.dir/motors.cc.o]
> Error 1
> make[1]: ***
> [src/stable/components/gazeboserver/plugins/pioneer/CMakeFiles/motors.dir/all]
> Error 2
> make[2]: ***
> [src/stable/components/pclRGBDServer/CMakeFiles/pclRGBDServer.dir/kinectServer.cpp.o]
> Error 1
> make[1]: ***
> [src/stable/components/pclRGBDServer/CMakeFiles/pclRGBDServer.dir/all]
> Error 2
> make: *** [all] Error 2
>
>
> Thank You
>
> Pranav
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers at gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
--
Lihang Li
National Laboratory of Pattern Recognition (NLPR)
Institute of Automation, Chinese Academy of Sciences (IACAS)
95 Zhongguancun East Road
Beijing 100190, CHINA
Tel: +86-13811582143
Website: http://hustcalm.me
GoogleGroups:https://groups.google.com/forum/?hl=zh-CN#!forum/open-cas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150530/62756839/attachment-0001.htm
More information about the Jde-developers
mailing list