code-iai / iai_kinect2

Tools for using the Kinect One (Kinect v2) in ROS
Apache License 2.0
879 stars 519 forks source link

kinect2_viewer catkin_make error #354

Open dinghal opened 7 years ago

dinghal commented 7 years ago

when i catkin_make "kinect2_viewer: appear the following error: /usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:283:88: error: macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given "addCoordinateSystem (scale, id, viewport) with id a unique string identifier.")

/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:374:81: error: macro "PCL_DEPRECATED" requires 2 arguments, but only 1 given "addCoordinateSystem (id, viewport) with id a unique string identifier.")

/usr/include/pcl-1.7/pcl/visualization/pcl_visualizer.h:372:9: error: ‘PCL_DEPRECATED’ does not name a type PCL_DEPRECATED (

how i to solve this problem?

kohrt commented 7 years ago

Maybe you are using a wrong PCL version? What OS, libs, etc. are you using?

la9881275 commented 7 years ago

@wiedemeyer Running “rosrun kinect2_viewer kinect2_viewer” yields "Segmentation fault (core dumped)". I can't fix it after days of efforts. My computer is equipped with Ubuntu14.04 and PCL1.7*. Can you help me? Thank you!