Open shmpwk opened 3 years ago
This is because the dependency is listed as libazure-iot-sdk-c
source
While it is registered in rosdep as azure-iot-sdk-c
source
Perhaps it's possible to change the entry in the package.xml?
In the meantime you can manually apt install ros-melodic-azure-iot-sdk-c
Disclaimer: not a maintainer here, but I released the azure-iot-sdk-c
to the ROS buildfarm because it takes ages to compile.
Thank you for your quick response! You are right, and it is solved!!!
by
sudo apt install ros-melodic-azure-iot-sdk-c
and edit package.xml from
<?xml version="1.0"?>
<package format="2">
<name>roscpp_azure_iothub</name>
<version>0.0.1</version>
<description>
This package interfaces with Azure IoT Hub to provide cloud-based device management and command and control services over Azure IoT C99 SDK.
</description>
<maintainer email="vtam@microsoft.com">Vincent Tam</maintainer>
<maintainer email="seanyen@microsoft.com">Sean Yen</maintainer>
<url type="website">https://github.com/Microsoft/ros_azure_iothub</url>
<author>Vincent Tam</author>
<license>MIT</license>
<buildtool_depend>catkin</buildtool_depend>
<depend>dynamic_reconfigure</depend>
<depend>roscpp</depend>
<depend>std_msgs</depend>
<depend>topic_tools</depend>
<depend>ros_type_introspection</depend>
<depend>libazure-iot-sdk-c</depend>
<test_depend>rosunit</test_depend>
</package>
to
<?xml version="1.0"?>
<package format="2">
<name>roscpp_azure_iothub</name>
<version>0.0.1</version>
<description>
This package interfaces with Azure IoT Hub to provide cloud-based device management and command and control services over Azure IoT C99 SDK.
</description>
<maintainer email="vtam@microsoft.com">Vincent Tam</maintainer>
<maintainer email="seanyen@microsoft.com">Sean Yen</maintainer>
<url type="website">https://github.com/Microsoft/ros_azure_iothub</url>
<author>Vincent Tam</author>
<license>MIT</license>
<buildtool_depend>catkin</buildtool_depend>
<depend>dynamic_reconfigure</depend>
<depend>roscpp</depend>
<depend>std_msgs</depend>
<depend>topic_tools</depend>
<depend>ros_type_introspection</depend>
<depend>azure-iot-sdk-c</depend>
<test_depend>rosunit</test_depend>
</package>
Finally,
$ rosdep install --from-paths src --ignore-src -r -y
#All required rosdeps installed successfully
P.S. I've tried source build but it makes the problem more complicated, but ros-melodic-azure-iot-sdk-c
really helped me.
Can you leave the issue open? It is probably still valid for other users.
Thank you for your interesting work!
I'm trying the How to Build (Ubuntu Linux Melodic install).
My environment is ubuntu18.04 on WSL2 and ROS Melodic.
I have an error when installing system dependencies like
As a result, I failed to
catkin_make