-
Notifications
You must be signed in to change notification settings - Fork 34
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
'basic_sim' not found, rclcpp/rclcpp.hpp: No such file or directory #50
Comments
Hello. You can find BasicSim here. If you want to use coppelia instead, you will need to correctly specify the installation path in the |
Thank you for your help. I have successfully run the (one) (base) wyx@WUYX:~/test_ws$ ros2 launch test_env main_simbot_launch.py |
I apologize for disturbing you, but I encountered a problem while running
main_simbot_launch.py
.(one) (base) wyx@WUYX:~/test_ws$ ros2 launch test_env main_simbot_launch.py
[INFO] [launch]: All log files can be found below /home/wyx/.ros/log/2024-11-28-16-25-13-420142-WUYX-15874
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'basic_sim' not found, searching: ['/home/wyx/test_ws/install/test_env', '/home/wyx/test_ws/install/simulated_tdlas', '/home/wyx/test_ws/install/simulated_gas_sensor', '/home/wyx/test_ws/install/simulated_anemometer', '/home/wyx/test_ws/install/olfaction_msgs', '/home/wyx/test_ws/install/gaden_preprocessing', '/home/wyx/test_ws/install/gaden_player', '/home/wyx/test_ws/install/gaden_filament_simulator', '/home/wyx/test_ws/install/gaden_environment', '/home/wyx/test_ws/install/gaden_decompress', '/home/wyx/test_ws/install/gaden_common', '/opt/ros/humble']"
When I chose to use Coppelia, I installed version 4.5.1 and executed
export COPPELIASIM_ROOT_DIR='Full_path_to_Coppelia_Folder'
,then clone the utils repo,add a COLCON_IGNORE file inOdometry/SRF
Mapping/Sigma_FP
HRI/people-detection, but I encountered an issue during compilation(colcon build):
--- stderr: mqtt_bridge
/home/wyx/test_ws/src/utils/Communications/mqtt_bridge/src/mqtt_bridge_node.cpp:5:10: fatal error: rclcpp/rclcpp.hpp: No such file or directory
5 | #include <rclcpp/rclcpp.hpp>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/mqtt_bridge_node.dir/build.make:76: CMakeFiles/mqtt_bridge_node.dir/src/mqtt_bridge_node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/mqtt_bridge_node.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< mqtt_bridge [1.33s, exited with code 2]
then i add fellow sentences
set(dependencies
rclcpp
)
in file /home/wyx/test_ws/src/utils/Communications/mqtt_bridge/CMakeLists.txt.
--- stderr: coppelia_remote_api
CMake Error at CMakeLists.txt:10 (add_subdirectory):
add_subdirectory given source "/programming/zmqRemoteApi/clients/cpp" which
is not an existing directory.
CMake Warning at /opt/ros/humble/share/ament_cmake_export_include_directories/cmake/ament_export_include_directories.cmake:44 (message):
ament_export_include_directories() package 'coppelia_remote_api' exports
the include directory '/programming/zmqRemoteApi/clients/cpp' which doesn't
exist
Call Stack (most recent call first):
CMakeLists.txt:12 (ament_export_include_directories)
CMake Warning at /opt/ros/humble/share/ament_cmake_export_include_directories/cmake/ament_export_include_directories.cmake:44 (message):
ament_export_include_directories() package 'coppelia_remote_api' exports
the include directory
'/home/wyx/test_ws/build/coppelia_remote_api/zmqRemoteApi/jsoncons/include'
which doesn't exist
Call Stack (most recent call first):
CMakeLists.txt:12 (ament_export_include_directories)
CMake Error at CMakeLists.txt:20 (install):
install TARGETS given target "RemoteAPIClient" which does not exist.
Failed <<< coppelia_remote_api [18.5s, exited with code 1]
or sometimes Error message:
--- stderr: aruco
/usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to
curl_global_cleanup@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_getinfo@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_cleanup@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_perform@CURL_OPENSSL_4'/usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to
curl_global_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_perform@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFReadRGBAStripExt@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFReadFromUserBuffer@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_add_handle@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_remove_handle@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileOffsetWithErr@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_addpart@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_version_info@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_name@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileOffset@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileByteCount@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_filename@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_info_read@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_slist_free_all@CURL_OPENSSL_4' /usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to
curl_easy_strerror@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_setopt@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFDeferStrileArrayWriting@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileByteCountWithErr@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFForceStrileArrayWriting@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFReadRGBATileExt@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_slist_append@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_poll@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_version@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_setopt@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_data@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_free@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_cleanup@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_init@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_data_cb@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_wait@CURL_OPENSSL_4' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/createMarker.dir/build.make:205: createMarker] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:165: CMakeFiles/createMarker.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to
curl_global_cleanup@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_getinfo@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_cleanup@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_perform@CURL_OPENSSL_4' /usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to
curl_global_init@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_perform@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_init@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFReadRGBAStripExt@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_init@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFReadFromUserBuffer@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_add_handle@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_remove_handle@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileOffsetWithErr@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_addpart@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_version_info@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_name@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileOffset@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileByteCount@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_filename@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_info_read@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_slist_free_all@CURL_OPENSSL_4'/usr/bin/ld: /lib/x86_64-linux-gnu/libnetcdf.so.19: undefined reference to
curl_easy_strerror@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_setopt@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFDeferStrileArrayWriting@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFGetStrileByteCountWithErr@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFForceStrileArrayWriting@LIBTIFF_4.0' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
TIFFReadRGBATileExt@LIBTIFF_4.0'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_slist_append@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_poll@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_version@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_setopt@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_data@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_free@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_easy_cleanup@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_init@CURL_OPENSSL_4'/usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_mime_data_cb@CURL_OPENSSL_4' /usr/bin/ld: /lib/libgdal.so.30: undefined reference to
curl_multi_wait@CURL_OPENSSL_4'collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/findAruco.dir/build.make:270: findAruco] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/findAruco.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< aruco [4.28s, exited with code 2]
Could you please tell me how to resolve this? Thank you.
The text was updated successfully, but these errors were encountered: