Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Catkin_make problem #110

Open
recepEsetron opened this issue Jun 16, 2022 · 0 comments
Open

Catkin_make problem #110

recepEsetron opened this issue Jun 16, 2022 · 0 comments

Comments

@recepEsetron
Copy link

Ubuntu 20.04 ROS Noetic. Catkin_make does not finish.

[ 97%] Built target ISLogReaderExample
In file included from /home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp: In member function ‘void InertialSenseROS::configure_data_streams()’:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:110:18: error: ‘DID_MAGNETOMETER_1’ was not declared in this scope; did you mean ‘DID_MAGNETOMETER’?
110 | SET_CALLBACK(DID_MAGNETOMETER_1, magnetometer_t, mag_callback, 1);
| ^~~~~~~~~~~~~~~~~~
/home/recep/catkin_ws/src/inertial-sense-ros/include/inertial_sense_ros.h:43:29: note: in definition of macro ‘SET_CALLBACK’
43 | IS_.BroadcastBinaryData(DID, periodmultiple,
| ^~~
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp: In member function ‘void InertialSenseROS::start_log()’:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:143:64: error: ‘RMC_PRESET_PPD_ROBOT’ was not declared in this scope; did you mean ‘RMC_PRESET_PPD_BITS’?
143 | IS
.SetLoggerEnabled(true, filename, cISLogger::LOGTYPE_DAT, RMC_PRESET_PPD_ROBOT);
| ^~~~~~~~~~~~~~~~~~~~
| RMC_PRESET_PPD_BITS
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp: In member function ‘bool InertialSenseROS::set_current_position_as_refLLA(std_srvs::Trigger::Request&, std_srvs::Trigger::Response&)’:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:925:3: warning: no return statement in function returning non-void [-Wreturn-type]
925 | }
| ^
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp: In member function ‘bool InertialSenseROS::set_refLLA_to_value(inertial_sense_ros::refLLAUpdate::Request&, inertial_sense_ros::refLLAUpdate::Response&)’:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:954:1: warning: no return statement in function returning non-void [-Wreturn-type]
954 | }
| ^
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp: In member function ‘bool InertialSenseROS::update_firmware_srv_callback(inertial_sense_ros::FirmwareUpdate::Request&, inertial_sense_ros::FirmwareUpdate::Response&)’:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1027:25: error: ‘bootloader_result_t’ is not a member of ‘InertialSense’
1027 | vectorInertialSense::bootloader_result_t results = IS
.BootloadFile("", req.filename, 921600);
| ^~~~~~~~~~~~~~~~~~~
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1027:25: error: ‘bootloader_result_t’ is not a member of ‘InertialSense’
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1027:44: error: template argument 1 is invalid
1027 | vectorInertialSense::bootloader_result_t results = IS_.BootloadFile("
", req.filename, 921600);
| ^
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1027:44: error: template argument 2 is invalid
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1027:72: error: cannot convert ‘std::vectorInertialSense::bootload_result_t’ to ‘int’ in initialization
1027 | vectorInertialSense::bootloader_result_t results = IS_.BootloadFile("*", req.filename, 921600);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| std::vectorInertialSense::bootload_result_t
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1028:17: error: invalid types ‘int[int]’ for array subscript
1028 | if (!results[0].error.empty())
| ^
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1031:28: error: invalid types ‘int[int]’ for array subscript
1031 | res.message = results[0].error;
| ^
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp: In member function ‘bool InertialSenseROS::perform_mag_cal_srv_callback(std_srvs::Trigger::Request&, std_srvs::Trigger::Response&)’:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:983:1: warning: control reaches end of non-void function [-Wreturn-type]
983 | }
| ^
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp: In member function ‘bool InertialSenseROS::perform_multi_mag_cal_srv_callback(std_srvs::Trigger::Request&, std_srvs::Trigger::Response&)’:
/home/recep/catkin_ws/src/inertial-sense-ros/src/inertial_sense_ros.cpp:1012:1: warning: control reaches end of non-void function [-Wreturn-type]
1012 | }
| ^
make[2]: *** [inertial-sense-ros/CMakeFiles/inertial_sense_ros.dir/build.make:63: inertial-sense-ros/CMakeFiles/inertial_sense_ros.dir/src/inertial_sense_ros.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2362: inertial-sense-ros/CMakeFiles/inertial_sense_ros.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j8 -l8" failed

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

No branches or pull requests

1 participant