Open ItzMeJP opened 5 years ago
Having the same issue on ARCH 5.4.8 x86_64
!
Using QT 5
and not QT 4
as described in the installation guide, though.
I'm curious how did you build graspit with Qt5 ...
Did anyone find a fix for this? I have encountered the same error. (also interested in how to compile with QT5?!?!)
@cellolegs I think that current version of graspit cannot be build using Qt5. It uses a lot of methods from Qt4 and Qt3.
I did some work creating a version of graspit that it builds with Qt5. It can be found here
It builds in a Debian 10 Buster and Ubuntu 18.04 with SoQt5 (from [here] (https://launchpad.net/~deb-rob/+archive/ubuntu/ros-bionic) and Qt5. It Ubuntu Focal should work too.
Some people from here know this work, but it needs a lot of manpower to review and fix a lot of issues. But, it's a first step. I'm not an expert Graspit user, just want to use it for my work and it was so frustrating to depend on that old versions.
@lepalom thanks for the fork! I compiled beautifully first try! bless you!
When I was struggling with the original one I was able to overcome my original error which was the same as the poster by adding QtGUI to line 107 in the cmakelists (find_package(Qt4 COMPONENTS QtCore QtSql REQUIRED. Unfortunately that's when I got the errors relating to the SoQT4 lib....which is no longer in the qt stacks for ubuntu focal :( so looks like the OG graspit is not focal friendly to say the least.
I managed to install Qt4 Libraries in Ubuntu 20.04 LTS, but get similar error messages. Are there any updates on this issue?
/usr/bin/ld: CMakeFiles/graspit_simulator.dir/src/main.cpp.o: undefined reference to symbol '_ZN7QCursorC1EN2Qt11CursorShapeE' /usr/bin/ld: /lib/x86_64-linux-gnu/libQtGui.so.4: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/graspit_simulator.dir/build.make:97: graspit_simulator] Error 1 make[1]: [CMakeFiles/Makefile2:78: CMakeFiles/graspit_simulator.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
I got same error above and couldn't install two packages: libcoin80-dev libsoqt4-dev in the installation tutorial. http://graspit-simulator.github.io/build/html/installation_ros.html
I got the same error, and then I install libcoin80-dev, libsoqt4-dev and their dependencies (whenever requested) manually from https://packages.ubuntu.com/bionic/libcoin80-dev and so on.
I am trying to compile the graspit from the source. For this I am using Ubuntu18, however i get the follow problem:
anyone can help me with this issue?