Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building issue with catkin_make #615

Open
andreucm opened this issue Apr 30, 2024 · 1 comment
Open

Building issue with catkin_make #615

andreucm opened this issue Apr 30, 2024 · 1 comment
Assignees

Comments

@andreucm
Copy link

Hi ,
I'm in Ubuntu 20.04, ROS noetic.
I follow the steps in the ros/README to build the ROS package.
It seems that the SDK part is built ok, but an error arises error: ‘struct p_data_t’ has no member named ‘buf’ when ROS compilation starts:

...
 95%] Building C object inertial-sense-sdk/ros/devel/CMakeFiles/InertialSenseSDK.dir/src/libusb/libusb/strerror.c.o
[ 95%] Building C object inertial-sense-sdk/ros/devel/CMakeFiles/InertialSenseSDK.dir/src/libusb/libusb/sync.c.o
[ 96%] Linking CXX static library /home/andreu/dev/workspaces/inertialsense_ws/devel/lib/libInertialSenseSDK.a
[ 96%] Built target InertialSenseSDK
Scanning dependencies of target inertial_sense_ros
[ 97%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/RtkRover.cpp.o
[ 98%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/RtkBase.cpp.o
[ 97%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/ParamHelper.cpp.o
[ 98%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/inertial_sense_ros.cpp.o
In file included from /home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/src/inertial_sense_ros.cpp:19:
/home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/src/inertial_sense_ros.cpp: In lambda function:
/home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/include/inertial_sense_ros.h:79:86: error: ‘struct p_data_t’ has no member named ‘buf’
   79 |                                 this->__cb_fun(DID, reinterpret_cast<__type *>(data->buf)); \
      |                                                                                      ^~~
/home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/include/inertial_sense_ros.h:79:86: note: in definition of macro ‘SET_CALLBACK’
   79 |                                 this->__cb_fun(DID, reinterpret_cast<__type *>(data->buf)); \
...

Any idea ?

Thanks!

@kylemallory
Copy link
Contributor

@andreucm We have recently updated the ROS packages, including adding examples for ROS2. Can you confirm if this is still an issue? If not, I'd like to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants