ibeo_lux build problem

asked 2019-11-13 09:22:08 -0500

YHC19 gravatar image

updated 2019-11-13 10:50:12 -0500

Hello, I have a problem with building ibeo_lux package (ubuntu16.04, kinetic)

When I try to catkin_make ibeo_lux, fails with error

I guess, there is some problem with "ReturnStatuses", but I cannot figure out.

Here is the error message.

/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp: In function 'int main(int, char**)':
/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:135:3: error: 'ReturnStatuses' was not declared in this scope
   ReturnStatuses status;
   ^
/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:149:7: error: 'status' was not declared in this scope
       status = tcp_interface.open(ip_address.c_str(), port);
       ^
/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:149:7: note: suggested alternatives:
In file included from /usr/include/boost/filesystem.hpp:17:0,
                 from /usr/include/pcl-1.7/pcl/io/boost.h:52,
                 from /usr/include/pcl-1.7/pcl/io/file_io.h:43,
                 from /usr/include/pcl-1.7/pcl/io/pcd_io.h:44,
                 from /opt/ros/kinetic/include/pcl_conversions/pcl_conversions.h:70,
                 from /opt/ros/kinetic/include/pcl_ros/point_cloud.h:9,
                 from /home/hcyoo/catkin_ws5/src/ibeo_lux/include/ibeo_lux/ibeo_lux_common.h:13,
                 from /home/hcyoo/catkin_ws5/src/ibeo_lux/include/ibeo_lux/ibeo_lux_ros_msg_handler.h:11,
                 from /home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:8:
/usr/include/boost/filesystem/operations.hpp:396:15: note:   'boost::filesystem::status'
   file_status status(const path& p, system::error_code& ec)
               ^
/usr/include/boost/filesystem/operations.hpp:320:17: note:   'boost::filesystem::detail::status'
     file_status status(const path&p, system::error_code* ec=0);
                 ^
/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:151:21: error: 'ReturnStatuses' is not a class, namespace, or enumeration
       if (status != ReturnStatuses::OK)
                     ^
/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:174:9: error: 'status' was not declared in this scope
         status = tcp_interface.write(set_filter_cmd);
         ^
/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:174:9: note: suggested alternatives:
In file included from /usr/include/boost/filesystem.hpp:17:0,
                 from /usr/include/pcl-1.7/pcl/io/boost.h:52,
                 from /usr/include/pcl-1.7/pcl/io/file_io.h:43,
                 from /usr/include/pcl-1.7/pcl/io/pcd_io.h:44,
                 from /opt/ros/kinetic/include/pcl_conversions/pcl_conversions.h:70,
                 from /opt/ros/kinetic/include/pcl_ros/point_cloud.h:9,
                 from /home/hcyoo/catkin_ws5/src/ibeo_lux/include/ibeo_lux/ibeo_lux_common.h:13,
                 from /home/hcyoo/catkin_ws5/src/ibeo_lux/include/ibeo_lux/ibeo_lux_ros_msg_handler.h:11,
                 from /home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:8:
/usr/include/boost/filesystem/operations.hpp:396:15: note:   'boost::filesystem::status'
   file_status status(const path& p, system::error_code& ec)
               ^
/usr/include/boost/filesystem/operations.hpp:320:17: note:   'boost::filesystem::detail::status'
     file_status status(const path&p, system::error_code* ec=0);
                 ^
/home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:174:52: error: no matching function for call to 'AS::Network::TCPInterface::write(std::vector<unsigned char>&)'
         status = tcp_interface.write(set_filter_cmd);
                                                    ^
In file included from /home/hcyoo/catkin_ws5/src/ibeo_lux/src/ros_ibeo_lux.cpp:9:0:
/opt/ros/kinetic/include/network_interface/network_interface.h:100:19: note: candidate: AS::Network::return_statuses AS::Network::TCPInterface::write(unsigned char*, const size_t&)
   return_statuses write(unsigned char ...
(more)
edit retag flag offensive close merge delete

Comments

Did you solve it? I have the same problem

zzzzzzj gravatar image zzzzzzj  ( 2020-01-13 02:35:43 -0500 )edit

You can refer [https://github.com/astuff/ibeo_lux/is...] Hope it will work for you!

YHC19 gravatar image YHC19  ( 2020-01-13 09:27:14 -0500 )edit