humanoid-path-planner / hpp-doc

Documentation for project Humanoid Path Planner
https://humanoid-path-planner.github.io/hpp-doc
ISC License
30 stars 23 forks source link

Install from source no openscenegraph-osgQt #83

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hello,

Thank you for making this repo public. Really great work. I run into a problem while trying to do a source install on ubunu 18.04. I followed the link as in here.

I got the following error while trying to execute make all (no problems found in previous steps):

image

Do you mind letting me know how to solve this issue? I have took a look at osg and it is not very clear how to install the osgQT.

Thank you in advance.

ghost commented 3 years ago

I have re-installed ubutun 18.04 and this problem still existed. For anyone who run into this problem, sudo apt-get install robotpkg-qt4-osgqt would do the trick.

I'm wondering if the developers could add this in the installation guide? Thanks.

I'm going to close this issue when development team replied. Sorry for the trouble.

ghost commented 3 years ago

Also, I have the following error during make all: [ 25%] Building CXX object src/CMakeFiles/hpp-tutorial-2-server.dir/tutorial_2.cc.o In file included from /workspace/src/hpp_tutorial/src/tutorial_2.cc:32: /workspace/install/include/hpp/corbaserver/server.hh:14:11: fatal error: omniORB4/CORBA.h: No such file or directory 14 | # include <omniORB4/CORBA.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. A screenshot has been attached:

image

It looks like the pull request from here was not successfully ``merged''. I manually changed the cmake files as detailed in here to fix it.

nim65s commented 3 years ago

Hi @Thompson104,

Thanks for your feedback.

For your first issue, you got it right, and I'll add this to the docs, but I suggest you go for Qt5 instead of Qt4, so: sudo apt install robotpkg-qt5-osgqt.

For your second issue, your second link clearly shows that this was merged in https://github.com/humanoid-path-planner/hpp-corbaserver/pull/140 and is available since v4.11.0. But it looks like we forgot to update stable to v4.11.0. I'll fix this too, thanks for the notice !

ghost commented 3 years ago

Thank you @nim65s for your quick reply. I have tried the sudo apt install robotpkg-qt5-osgqt. However, the same error shows up: image

With the qt-osgqt: I have changed QT_VERSION=5 in the "Makefile" under /hpp/src. Then I can compile the system after sudo apt install qttools5-dev-tools qttools5-dev. However, I have the following two problems:

[1] After make all (successful), when I take a look at the doc file as in $DEVEL_HPP_DIR/install/share/doc/hpp-doc/index.html. It looks like those packages don't have a doc file: image

[2] After sourcing the config.sh file, when I try to follow the tutorial 1 here. The commnad gepetto-gui gives me segmentation fault image. In addition, the "tutorial1-details" in the tutorial page here seems to be dead.

I wonder if you may suggest how to fix those two problems?

Apologize if I ask too many questions here. I just really want to try this nice repo and play with it. Thank you for your help.

nim65s commented 3 years ago

For your first question, I don't understand which package doesn't have which file.

For the second, I'll try to reproduce the issue

ghost commented 3 years ago

For your first question, I don't understand which package doesn't have which file.

For the second, I'll try to reproduce the issue

ghost commented 3 years ago

For the first question, please allow me to clarify.

For your first issue, you got it right, and I'll add this to the docs, but I suggest you go for Qt5 instead of Qt4, so: sudo apt install robotpkg-qt5-osgqt

I tried this command with qt5 and use make all to compile. However, I got the following error image

Based on this error, I have changed the qt version in the "Makefile" under /hpp/src from 4 to 5. After sudo apt install qttools5-dev-tools qttools5-dev, I can successfully compile the project. Howver then I runinto the segmentation fault while try to run the tutorial scripts.

florent-lamiraux commented 3 years ago

[1] After make all (successful), when I take a look at the doc file as in $DEVEL_HPP_DIR/install/share/doc/hpp-doc/index.html. It looks like those packages don't have a doc file:

Which version of hpp-doc do you install ? This should have been fixed in branch origin/stable.

ghost commented 3 years ago

@florent-lamiraux I'm not very sure about this. I followed this link under "stable-source" with Ubuntu 18.04.

florent-lamiraux commented 3 years ago

Can you contact me by email at florent.lamiraux at laas dot fr to organize a video conference ?

florent-lamiraux commented 3 years ago

Did you fix your issue ? I did not received any email.

ghost commented 3 years ago

Thank you for your reply and really appreciate for your help. I have managed to install the packages from source instead of usuing the link here.

Again, thank you. I'm closing it.