Error file failed to open for writing

asked 2020-09-22 08:40:30 -0600

ZaurK gravatar image

Hello everyone! I have an error when trying to build a package as it shown in http://wiki.ros.org/ROS/Tutorials/Bui...

When I write in terminal a command 'make install' I get this error:

zaur@z-Inspiron-5720:~/catkin_ws/src/beginner_tutorials/build$ make install Install the project... -- Install configuration: "" CMake Error at cmake_install.cmake:46 (file): file failed to open for writing (Permission denied):

/usr/local/.catkin

make: * [Makefile:129: install] Error 1 zaur@z-Inspiron-5720:~/catkin_ws/src/beginner_tutorials/build$

Please, can anyone help me fix issue?

edit retag flag offensive close merge delete

Comments

@ZaurK, you just need to call catkin_make from the root directory of your workspace. I.E.: ~/catkin_ws.

Weasfas gravatar image Weasfas  ( 2020-09-23 04:20:44 -0600 )edit