Closed ChanCheryl closed 5 years ago
Hi,
You should remove the starting
and the trailing
Hi, You are right. Thank you very much. But when I went to step7, I encountered a new problem.I couldn't download the files.
Then I also tried to run them separately. But the result was the same.
Do you have any suggestions? Sorry to bother you again. Thanks
You types cd DEVEL_HPP_DIR/src
instead of cd $DEVEL_HPP_DIR/src
.
You need to define environment variable DEVEL_HPP_DIR
to tell the Makefile where to download, compile and install the code.
I have changed it as what you said, but it still has some problems. And this is the variable I set in my .bashrc. Thanks
command cd /src/collada-dom/build-rel
in the terminal shows that the variable is not set correctly.
in .bashrc
, you should add
export DEVEL_HPP_DIR=/home/cheryl/HPP
Be sure to start a new terminal to make sure that .bashrc is read.
Before running make
, type
echo $DEVEL_HPP_DIR
to be sure that the variable is correctly set.
You're correct! But when it ran for a while, it had a similar problem. And I think the variable is correctly this time.
Git complains that it couldn't find branch v4.3.0 on hpp-fcl. This should not have happened. v4.3.0 is not a branch but a tag. It is a valid input to the -b option. From git doc
--branch <name>, -b <name> Instead of pointing the newly created HEAD to the branch pointed to by the cloned repository’s HEAD, point to <name> branch instead. In a non-bare repository, this is the branch that will be checked out. --branch can also take tags and detaches the HEAD at that commit in the resulting repository.
What is your OS ? What's your version of git ? For me
$ git --version
git version 2.7.4
My version of git is the same as yours.
I don't know how it is possible that we missed that bug. #40 should fix your issue. Meanwhile, you can pull this Makefile instead: https://github.com/jmirabel/hpp-doc/blob/master/doc/Makefile
The issue is that hpp-fcl does not have a v4.3.0.
The issue is that hpp-fcl does not have a v4.3.0.
You are right. It is on my computer but it wasn't pushed.
I don't know how it is possible that we missed that bug. #40 should fix your issue. Meanwhile, you can pull this Makefile instead: https://github.com/jmirabel/hpp-doc/blob/master/doc/Makefile
I updated the master branch on my fork. You can (re)download the file now.
I changed the Makefile as you suggested.But it still doesn't work.
Indeed, the master branch does not compile. Your problem has been fixed in a later commit.
To work around the issue, I suggest that you do
cd $DEVEL_HPP_DIR/src/gepetto-viewer-corba
git checkout -b devel origin/devel
cd $DEVEL_HPP_DIR/src
make all
Then, let me know whether this fixes your issue.
Thanks. But I think it doesn't work. It still has some problems.
Can you check that directory collada-dom
has been checked out ?
Can you type pkg-config --modversion collada14dom
?
can you type echo $PKG_CONFIG_PATH
?
Is there anything wrong?
I do not understand what happened.
Can you type make collada-dom.install
in $DEVEL_HPP_DIR/src
?
The paths in the two previous messages are different. In your PKG_CONFIG_PATH
, you have ~/kinova/devel/lib
, while the sources of HPP are in ~/HPP/src
. Given the above pictures, binaries are installed in ~/HPP/install
.
Did you source the config file ? Can you provide the output of:
echo $DEVEL_HPP_DIR
cat $DEVEL_HPP_DIR/config.sh
That's right, I missed the point.
Here is the result of make collada-dom.install
And here is the result of echo $DEVEL_HPP_DIR cat $DEVEL_HPP_DIR/config.sh
I'm sure that I source the config file before.
Thanks
Then, you have to understand why the environment variable PKG_CONFIG_PATH does not contain ~/HPP/install/lib/pkgconfig
. Open a new terminal, source the file and check the environment variable.
If they are OK, then, try again the installation.
Maybe your .bashrc
modifies variable PKG_CONFIG_PATH
after you source config.sh
...
@ChanCheryl Do you really need the source version ? Do you know that you could install HPP from a binary source, without the need to understand all the compilation process ?
@jmirabel @florent-lamiraux Thank you very much. I well try again.
@nim65s Sorry, I don't know how to install HPP from a binary source. Because I didn't find the relevant installation tutorial. I just found this one https://github.com/jmirabel/hpp-doc/blob/master/doc/instructions.md
@ChanCheryl Don't be sorry, it's not your fault, we may be lacking proper documentation about that on this project.
You can install robotpkg's binary repository with the following commands (if you are on Ubuntu 16.04, otherwise you will have to adapt the xenial
part):
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/robotpkg.list <<EOF
deb [arch=amd64] http://robotpkg.openrobots.org/wip/packages/debian/pub xenial robotpkg
deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub xenial robotpkg
EOF
And then install most of HPP (currently in the 4.4 version) with:
sudo apt update
sudo apt install robotpkg-hpp-tutorial robotpkg-qt4-hpp-gui
@nim65s Thank you very much!!! I successfully installed it. I am going to learn how to use your platform. Can you give me any advice?
You can have a look at the tutorial at /opt/openrobots/share/doc/hpp_tutorial/doxygen-html/index.html
The installation problem is solved. @ChanCheryl re-open if you need some more help.
Hi, I can't install the HPP system. I used the method mentioned here, https://humanoid-path-planner.github.io/hpp-doc/download.html. But I couldn't download it. Why? I also used the method mentioned here, https://github.com/humanoid-path-planner/hpp-doc/blob/master/doc/instructions.md. The result is useless.
Do I have to download any packages before using the command to install in the terminal ? Could you give me some advice about the installation? Thanks