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

make_libraries.py Permission Denied Error

$
0
0
Hi, I recently tried to install rosserial_arduino using this tutorial: http://wiki.ros.org/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup but when I run the command: rosrun rosserial_arduino make_libraries.py . I get the exact error shown here: https://github.com/ros-drivers/rosserial/issues/39 That issue was closed, but it appears I've broken it again. I tried both using both options in step 3.1 in the above tutorial, but when I got to the catkin_make command, I got more errors: imehrslab@imehrslab-OptiPlex-9010:~/catkin_ws$ catkin_make Base path: /home/imehrslab/catkin_ws Source space: /home/imehrslab/catkin_ws/src Build space: /home/imehrslab/catkin_ws/build Devel space: /home/imehrslab/catkin_ws/devel Install space: /home/imehrslab/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/imehrslab/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/imehrslab/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/imehrslab/catkin_rnr/devel;/opt/ros/groovy -- This workspace overlays: /home/imehrslab/catkin_rnr/devel;/opt/ros/groovy -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Python version: 2.7 -- Using Debian Python package layout -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/imehrslab/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- catkin 0.5.89 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 10 packages in topological order: -- ~~ - rosserial (metapackage) -- ~~ - rosserial_arduino -- ~~ - rosserial_client -- ~~ - rosserial_msgs -- ~~ - rosserial_python -- ~~ - rosserial_xbee -- ~~ - agitr -- ~~ - rosserial_embeddedlinux -- ~~ - rosserial_windows -- ~~ - rosserial_server -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'rosserial' -- ==> add_subdirectory(rosserial/rosserial) -- +++ processing catkin package: 'rosserial_arduino' -- ==> add_subdirectory(rosserial/rosserial_arduino) -- Using these message generators: gencpp;genlisp;genpy -- rosserial_arduino: 1 messages, 1 services -- +++ processing catkin package: 'rosserial_client' -- ==> add_subdirectory(rosserial/rosserial_client) -- +++ processing catkin package: 'rosserial_msgs' -- ==> add_subdirectory(rosserial/rosserial_msgs) -- Using these message generators: gencpp;genlisp;genpy -- rosserial_msgs: 2 messages, 3 services -- +++ processing catkin package: 'rosserial_python' -- ==> add_subdirectory(rosserial/rosserial_python) -- +++ processing catkin package: 'rosserial_xbee' -- ==> add_subdirectory(rosserial/rosserial_xbee) -- +++ processing catkin package: 'agitr' -- ==> add_subdirectory(agitr) CMake Error at /opt/ros/groovy/share/roscpp/cmake/roscppConfig.cmake:141 (message): Project 'agitr' tried to find library 'pthread'. The library is neither a target nor built/installed properly. Did you compile project 'roscpp'? Did you find_package() it before the subdirectory containing its code is included? Call Stack (most recent call first): /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:75 (find_package) agitr/CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred! make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed I can open up an example file in Arduino, but when I try to compile, it gives me this: In file included from /opt/ros/groovy/include/ros/node_handle.h:31:0, from /home/imehrslab/sketchbook/libraries/ros_lib/ros.h:38, from HelloWorld.cpp:6: /opt/ros/groovy/include/ros/forwards.h:31:18: fatal error: string: No such file or directory compilation terminated. I am running Groovy. I'm sort of inexperienced in ROS, so I shared as many errors as I could. I'm pretty sure they all stem from the same problem, but maybe one will shed some light on it. Thanks for the help!

Viewing all articles
Browse latest Browse all 314

Trending Articles



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