krishauser / Klampt

Kris' Locomotion and Manipulation Planning Toolkit
BSD 3-Clause "New" or "Revised" License
378 stars 96 forks source link

Trouble shooting to install on Ubuntu 20.04 #118

Closed ShaoxiongYao closed 1 year ago

ShaoxiongYao commented 3 years ago

When I follow the install guide, there was an error when I ran the make deps command:

In file included from glui_add_controls.cpp:37: ./include/GL/glui.h:60:12: fatal error: GL/glut.h: No such file or directory 60 | #include <GL/glut.h> |

I fixed this issue by running sudo apt install freeglut3-dev, from stack overflow. I tried to search previous issues but did not find a similar one, not sure if this is specific to my system setup. I wonder if we need to add this to the install guide on Linux.

krishauser commented 2 years ago

On second glance, it may be better to eliminate GLUI from the build altogether. GLUI is actually unnecessary if Qt is available, or for a Python-only build. Thoughts?

ShaoxiongYao commented 2 years ago

I agree GLUI is not used when Qt is available. I tested GLUIGUI.cpp and GLUTGUI.cpp are not used on branch 0.9. If we want to completely remove it from build, do we want to do this in 0.9?

krishauser commented 1 year ago

Updated on master. Will be fixed in 0.9.1.