Solution to issue cannot be found in the documentation.
[X] I checked the documentation.
Issue
Hello, I am trying to use some OpenCV methods in my package. catkin_make runs without any issues, but I get the following missing symbols error:
[ERROR] [1705357953.336541330]: Failed to load nodelet [/mushr/aruco_detection_nodelet_t] of type [perception/aruco_detection_nodelet_t] even after refreshing the cache: Failed to load library /home/aravind/ros_ws/devel/lib//libperception_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libperception_nodelets.so: undefined symbol: _ZN2cv12VideoCapture3setEid)
[ERROR] [1705357953.336884263]: Failed to load nodelet [/mushr/aruco_wTc_nodelet_t] of type [estimation/aruco_wTc_nodelet_t] even after refreshing the cache: Failed to load library /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so: undefined symbol: _ZN2cv13projectPointsERKNS_11_InputArrayES2_S2_S2_S2_RKNS_12_OutputArrayES5_d)
[ERROR] [1705357953.336916806]: The error before refreshing the cache was: Failed to load library /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so: undefined symbol: _ZN2cv13projectPointsERKNS_11_InputArrayES2_S2_S2_S2_RKNS_12_OutputArrayES5_d)
[FATAL] [1705357953.337064825]: Failed to load nodelet '/mushr/aruco_wTc_nodelet_t` of type `estimation/aruco_wTc_nodelet_t` to manager `standalone_nodelet'
[ERROR] [1705357953.337537081]: The error before refreshing the cache was: Failed to load library /home/aravind/ros_ws/devel/lib//libperception_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libperception_nodelets.so: undefined symbol: _ZN2cv12VideoCapture3setEid)
[mushr/aruco_detection_nodelet_t-4] process has died [pid 45589, exit code 255, cmd /home/aravind/miniforge3/envs/ros_env/lib/nodelet/nodelet standalone perception/aruco_detection_nodelet_t __name:=aruco_detection_nodelet_t __log:=/home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-aruco_detection_nodelet_t-4.log].
log file: /home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-aruco_detection_nodelet_t-4*.log
[mushr/aruco_wTc_nodelet_t-8] process has died [pid 45608, exit code 255, cmd /home/aravind/miniforge3/envs/ros_env/lib/nodelet/nodelet load estimation/aruco_wTc_nodelet_t standalone_nodelet __name:=aruco_wTc_nodelet_t __log:=/home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-aruco_wTc_nodelet_t-8.log].
log file: /home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-aruco_wTc_nodelet_t-8*.log
[ERROR] [1705357953.868016438]: Failed to load nodelet [/mushr/aruco_cTw_nodelet_t] of type [estimation/aruco_cTw_nodelet_t] even after refreshing the cache: Failed to load library /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so: undefined symbol: _ZN2cv13projectPointsERKNS_11_InputArrayES2_S2_S2_S2_RKNS_12_OutputArrayES5_d)
[ERROR] [1705357953.868054276]: The error before refreshing the cache was: Failed to load library /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so: undefined symbol: _ZN2cv13projectPointsERKNS_11_InputArrayES2_S2_S2_S2_RKNS_12_OutputArrayES5_d)
[FATAL] [1705357953.868229256]: Failed to load nodelet '/mushr/aruco_cTw_nodelet_t` of type `estimation/aruco_cTw_nodelet_t` to manager `standalone_nodelet'
[ERROR] [1705357954.090507860]: Failed to load nodelet [/mushr/plant_estimator_nodelet_t] of type [estimation/plant_estimator_nodelet_t] even after refreshing the cache: Failed to load library /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so: undefined symbol: _ZN2cv13projectPointsERKNS_11_InputArrayES2_S2_S2_S2_RKNS_12_OutputArrayES5_d)
[ERROR] [1705357954.090555559]: The error before refreshing the cache was: Failed to load library /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/aravind/ros_ws/devel/lib//libestimation_nodelets.so: undefined symbol: _ZN2cv13projectPointsERKNS_11_InputArrayES2_S2_S2_S2_RKNS_12_OutputArrayES5_d)
[FATAL] [1705357954.090661538]: Failed to load nodelet '/mushr/plant_estimator_nodelet_t` of type `estimation/plant_estimator_nodelet_t` to manager `standalone_nodelet'
[mushr/aruco_cTw_nodelet_t-7] process has died [pid 45607, exit code 255, cmd /home/aravind/miniforge3/envs/ros_env/lib/nodelet/nodelet load estimation/aruco_cTw_nodelet_t standalone_nodelet __name:=aruco_cTw_nodelet_t __log:=/home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-aruco_cTw_nodelet_t-7.log].
log file: /home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-aruco_cTw_nodelet_t-7*.log
[mushr/plant_estimator_nodelet_t-9] process has died [pid 45609, exit code 255, cmd /home/aravind/miniforge3/envs/ros_env/lib/nodelet/nodelet load estimation/plant_estimator_nodelet_t standalone_nodelet __name:=plant_estimator_nodelet_t __log:=/home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-plant_estimator_nodelet_t-9.log].
log file: /home/aravind/.ros/log/595a9ef6-b3cc-11ee-8936-ecb1d72f7eae/mushr-plant_estimator_nodelet_t-9*.log
Solution to issue cannot be found in the documentation.
Issue
Hello, I am trying to use some OpenCV methods in my package.
catkin_make
runs without any issues, but I get the following missing symbols error:Installed packages
Environment info