graspit-simulator / graspit

The GraspIt! simulator
http://graspit-simulator.github.io/
Other
180 stars 81 forks source link

Qt5 version #174

Open lepalom opened 4 years ago

lepalom commented 4 years ago

I have seen that graspit has in its dependencies all refered to Qt4:

sudo apt-get install libqt4-dev sudo apt-get install libqt4-opengl-dev sudo apt-get install libqt4-sql-psql sudo apt-get install libsoqt4-dev

Qt4 is not longer active neither provided by any modern Linux distro, so graspit will be unusable soon. There's any plan to migrate to Qt5?

vladislav-klass commented 2 years ago

Are there any updates or workaround on this matter? Can anyone recommend alternatives to graspit on Ubuntu 20.04?

DavidWatkins commented 2 years ago

Use branch qt5, then use the following commands to build graspit:

sudo apt install -y cmake libsoqt520 libsoqt520-dev libblas-dev liblapack-dev libqhull-dev libeigen3-dev git
sudo apt update
mkdir $HOME/dependencies/
cd ~/dependencies
git clone https://github.com/graspit-simulator/graspit.git -b qt5
cd graspit
export GRASPIT=$PWD
mkdir build
cd build
cmake ..
make -j$(nproc)
sudo make install