Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

error during catkin workspace build

$
0
0
During setup of catkin workspace i am getting this error: ***/usr/bin/ld: cannot find -lpthreads*** while executing catkin_make please help!!! Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/devesh/ROS/catlin_workspace/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTryCompileExec3515155321/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec3515155321.dir/build.make CMakeFiles/cmTryCompileExec3515155321.dir/build make[1]: Entering directory '/home/devesh/ROS/catlin_workspace/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/devesh/ROS/catlin_workspace/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3515155321.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec3515155321.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3515155321 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3515155321.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec3515155321.dir/CheckFunctionExists.c.o -o cmTryCompileExec3515155321 -rdynamic -lpthreads **/usr/bin/ld: cannot find -lpthreads** collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec3515155321.dir/build.make:88: recipe for target 'cmTryCompileExec3515155321' failed make[1]: Leaving directory '/home/devesh/ROS/catlin_workspace/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec3515155321] Error 1 Makefile:117: recipe for target 'cmTryCompileExec3515155321/fast' failed make: *** [cmTryCompileExec3515155321/fast] Error 2

Viewing all articles
Browse latest Browse all 417

Trending Articles



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