Closed northpoleforce closed 7 months ago
@mbusy Could you help me, please? I found you commit the version of ros-naoqi/libqi based on Noetic.
Hello 👋
It looks like you're building with an older version of the Boost libraries. We currently only support versions 1.78 to 1.82 of Boost.
Hello, how are you building libqi? Please share the commands you typed and tell us more about your workspace.
cd src
git clone https://github.com/ros-naoqi/libqi.git
git clone https://github.com/ros-naoqi/libqicore.git
git clone https://github.com/ros-naoqi/naoqi_bridge_msgs.git
git clone https://github.com/ros-naoqi/pepper_meshes.git
git clone https://github.com/ros-naoqi/naoqi_driver.git
git clone https://github.com/ros-naoqi/pepper_robot.git
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
Then, I failed! ( So sad @victorpaleologue
@nyibbang the ROS fork uses a late version of libQi to remain compatible with older boost versions.
@northpoleforce Could you share the results of dpkg -l | grep boost
on your machine, please?
Okay, I realized this fork existed a few days ago while looking at ROS stuff.
It seems like @northpoleforce is using a recent Boost version and the ros-naoqi/libqi repo is missing this commit fb3a5b5b0074bcec2d04e0a89e43ee646aa435e9 which adds the executor_type
type on SocketWithContext
.
Ubuntu's boost is not meant to be that recent though. It's on an Ubuntu 20.04 and Noetic builds fine on official buildfarms (which are using the usual Boost version from Ubuntu 20.04). I suppose something is different with @northpoleforce's boost.
It's not Boost from Ubuntu, aka from apt. If you look at the path of the headers, (e.g /usr/local/include/boost/asio/impl/read.hpp
), they are located in /usr/local
, which seems to indicate that our friend compiled a Boost himself and installed it locally (which by default will install it in /usr/local
, often done as sudo
since it requires root permissions).
There you have it then =) @northpoleforce you should not be using a custom version of boost. ROS requires you to use Ubuntu's official version of boost. Thanks @nyibbang !
Thank you both very much, but I found I just need to compile aother packages to reach my goal. However, thank for your help sincerely.
log