<div dir="ltr"><div>Hi Developers,<br></div>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 ? <br><br><br><br>[ 78%] Building CXX object src/stable/components/gazeboserver/plugins/pioneer/CMakeFiles/motors.dir/motors.cc.o<br>In file included from /home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.h:15:0,<br>                 from /home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.cpp:8:<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:283:88:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 givenIn 
file included from 
/home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.h:15:0,<br>                 from /home/pranav/Desktop/JD2/JdeRobot/src/stable/libs/jderobotViewer/JderobotViewer.cpp:8:<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:283:88:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br><br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:304:97:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 
given/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:304:97: 
error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br><br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:327:91:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 
given/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:327:91: 
error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br><br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:374:81:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 
given/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:374:81: 
error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br><br>In file included from /usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:39:0,<br>                 from /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/pclRGBDServer/kinectServer.cpp:18:<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:283:88:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:304:97:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:327:91:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:374:81:
 error: macro &quot;PCL_DEPRECATED&quot; requires 2 arguments, but only 1 given<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:281:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:302:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:325:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:372:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:281:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:302:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:325:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:372:9: error: ‘PCL_DEPRECATED’ does not name a type<br>In file included from /usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:39:0,<br>                 from /home/pranav/Desktop/JD2/JdeRobot/src/stable/components/pclRGBDServer/kinectServer.cpp:18:<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:281:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:302:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:325:9: error: ‘PCL_DEPRECATED’ does not name a type<br>/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:372:9: error: ‘PCL_DEPRECATED’ does not name a type<br>make[2]: *** [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewer.dir/JderobotViewer.cpp.o] Error 1<br>make[1]: *** [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewer.dir/all] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>/home/pranav/Desktop/JD2/JdeRobot/src/stable/components/gazeboserver/plugins/pioneer/motors.cc:
 In member function ‘void gazebo::Motors::OnUpdate()’:<br>/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’<br>/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’<br>/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’<br>/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’<br>make[2]: *** [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewerShare.dir/JderobotViewer.cpp.o] Error 1<br>make[1]: *** [src/stable/libs/jderobotViewer/CMakeFiles/jderobotViewerShare.dir/all] Error 2<br>make[2]: *** [src/stable/components/gazeboserver/plugins/pioneer/CMakeFiles/motors.dir/motors.cc.o] Error 1<br>make[1]: *** [src/stable/components/gazeboserver/plugins/pioneer/CMakeFiles/motors.dir/all] Error 2<br>make[2]: *** [src/stable/components/pclRGBDServer/CMakeFiles/pclRGBDServer.dir/kinectServer.cpp.o] Error 1<br>make[1]: *** [src/stable/components/pclRGBDServer/CMakeFiles/pclRGBDServer.dir/all] Error 2<br>make: *** [all] Error 2<br><br><div class="gmail_extra"><br></div><div class="gmail_extra">Thank You <br><br></div><div class="gmail_extra">Pranav<br></div></div>