Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6056

ros2 colon build error in g++ 11.4 ubuntu 22.04

$
0
0

build code with ros2 and see this erroris there not install something?or i make wrong in cmakelist?i want create a socket with ros2 in ubuntu 22.04

$ colcon buildStarting >>> socket  --- stderr: socket                             /usr/bin/ld: cannot find -lsocket: No such file or directorycollect2: error: ld returned 1 exit statusgmake[2]: *** [CMakeFiles/socket_server_node.dir/build.make:151: socket_server_node] Error 1gmake[1]: *** [CMakeFiles/Makefile2:165: CMakeFiles/socket_server_node.dir/all] Error 2gmake: *** [Makefile:146: all] Error 2---Failed   <<< socket [0.22s, exited with code 2]

Viewing all articles
Browse latest Browse all 6056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>