Compilation failure of json utils
RPS98 opened this issue · comments
Tell us about your environment
- Ubuntu version: Ubuntu 22.04
- Docker Version: isaac_ros_common
- ROS/ROS2 version: Humble
- Commit hash: 833c906
Steps to reproduce issue
Compile PSDK Wrapper using guide.
Expected behavior
Compile without errors.
Actual behavior
Output:
/home/admin/psdk_ws/src/psdk_ros2/psdk_wrapper/include/psdk_wrapper/json_utils
39 | stream << "0x" << std::setfill('0') << std::setw(sizeof(T) * 2) << s
| ^~~~
/home/admin/psdk_ws/src/psdk_ros2/psdk_wrapper/include/psdk_wrapper/json_utils
39 | stream << "0x" << std::setfill('0') << std::setw(sizeof(T) * 2) << s
| ^~~~~~~
| fill
/home/admin/psdk_ws/src/psdk_ros2/psdk_wrapper/include/psdk_wrapper/json_utils
39 | stream << "0x" << std::setfill('0') << std::setw(sizeof(T) * 2) << s
| ^~~~
/home/admin/psdk_ws/src/psdk_ros2/psdk_wrapper/include/psdk_wrapper/json_utils
38 | std::stringstream stream;
Are you willing to make a PR? If yes, add the PR link here.
I got the same 3 error while doing colcon build
My system is
Jetson AGX
Docker Image jetson-isaac2:latest
My issue is also resolve after adding
#include "sstream"
#include "iomanip"
this packages into json_utils.hpp file
@RPS98 , @bitcurious
This has now been merged to main: 291e9b2
Closing this issue!