rdiankov / openrave

Open Robotics Automation Virtual Environment: An environment for testing, developing, and deploying robotics motion planning algorithms.
http://www.openrave.org
Other
706 stars 344 forks source link

Failed to Install OpenRave on 16.04 Using Instructions #500

Open scchow opened 7 years ago

scchow commented 7 years ago

Hi,

I have been trying to install OpenRave from souce using the instructions found on the main OpenRave website.

The instructions state to run:

sudo add-apt-repository ppa:openrave/release
sudo sh -c 'echo "deb-src http://ppa.launchpad.net/openrave/release/ubuntu `lsb_release -cs` main" >> /etc/apt/sources.list.d/openrave-release-`lsb_release -cs`.list'
sudo apt-get update
sudo apt-get build-dep openrave

But I get the following error after running sudo apt-get update:

Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/openrave/release/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/openrave/release/ubuntu/dists/xenial/main/source/Sources  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

It seems like that ppa does not have a Release file for 16.04. I encountered the same issue when trying to install the binary files of OpenRave via:

sudo add-apt-repository ppa:openrave/release
sudo apt-get update
sudo apt-get install openrave

as described on the main website as well.

scchow commented 7 years ago

Just an update, I decided to follow the instructions here for installation.

OpenRAVE seemed to install, but I am missing some dependencies. When I run OpenRAVE on my dae file, I get the following

openrave robot.dae
2017-06-27 15:54:35,049 openrave [WARN] [openrave.cpp:322 MainOpenRAVEThread] failed to find an OpenRAVE viewer.

Does anyone know what viewer OpenRAVE is trying to use and where to get it?

maxgittelman commented 6 years ago

@scchow I have the same issue, did you manage to find the solution? I tried installing from source, but get the same failed to find an OpenRAVE viewer

yijiangh commented 6 years ago

@maxgittelman @scchow Please check the message when you cmake openrave. You might find the following warnings:

-- Could not find OpenSceneGraph v3+. Please install OSG (http://www.openscenegraph.org/projects/osg)
-- Detected SoQt/Coin3D GUI, making plugin
WARNING: Could not find ODE. Please install ODE (http://www.ode.org)

In my case (Ubuntu 16.04), installing these missing packages:

sudo apt-get install libqt4-dev libsoqt-dev-common libsoqt4-dev

will fix the problem (make sure you recompile and reinstall openrave).

maxgittelman commented 6 years ago

The one liner didn't do it for me, but by installing all the dependencies found in this tutorial I managed to install OpenRAVE in Ubuntu 16.04