Permission denied error while installing openNI and SensorKinect
I am trying to install openNI and sensor kinect for my kinect2 in ubuntu 18.04. I am using the openNI 1.5.40 and sensor kinect version 5.1.0.41. When i am trying to install both i was getting error "permission denied". I also changed my root password as well to double check if i forgot the password. Can anyone let me know what mistake i am doing?
Asked by medashan on 2019-06-03 18:42:56 UTC
Answers
Have you ran the install command using sudo? Otherwise check your user permissions, and add it as a superuser or to the dialout group depending on the specific error message. Examples of this can be found here: https://www.linode.com/docs/tools-reference/linux-users-and-groups/
Asked by jamesislost on 2019-06-04 15:16:50 UTC
Comments
I fixed the error which i got before. However, I am now getting a new error.
ls: cannot access '/home/rrluser/Downloads/openni_1.5.4.0.orig/OpenNI-OpenNI-e263e59/Platform/Linux/CreateRedist/./Lib/*': No such file or directory
Asked by medashan on 2019-06-04 16:43:34 UTC
Have you followed that file path to confirm the file exists? And if you can find the file check it is definitely on that route, if not either rename the route in the launch file or move the file.
Asked by jamesislost on 2019-06-04 22:25:38 UTC
If everything appears in the right places, maybe confirm the environment is properly sourced in the bashrc? run gedit ~/.bashrc scroll to the bottom and look for the following. source /opt/ros/kinetic/setup.bash source /WORKSPACE/devel/setup.sh export ROS_PACKAGE_PATH=/your/path/to/workspace:$ROS_PACKAGE_PATH
Asked by jamesislost on 2019-06-04 22:26:37 UTC
The file exists and the filename is install.sh. However, i am confused with the error. I have my bash file in CreateRedist. I am not sure what "./Lib/" points too in the error i got
I also checked the bashrc file. I have only one line at the bottom
source /opt/ros/melodic/setup.bash
I don't see other two lines
source /WORKSPACE/devel/setup.sh export ROS_PACKAGE_PATH=/your/path/to/workspace:$ROS_PACKAGE_PATH
Asked by medashan on 2019-06-05 17:07:48 UTC
Comments