Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) #95

Open
weiwenying opened this issue Aug 17, 2021 · 1 comment
Open

Comments

@weiwenying
Copy link

when run:

# on ubuntu20.04LTS
make -j prefix=$prefix install

It's raise:

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindGLUT.cmake:130 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:114 (find_package)

How to solve this problem?

@weiwenying
Copy link
Author

This problem, I solved:

sudo apt-get install freeglut3-dev
sudo apt-get install build-essential

install about opengl and glut etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant