PDA

View Full Version : [SOLVED] CMake can't find GLUT Xi or Xmu



RobotGymnast
March 10th, 2011, 12:03 AM
I'm trying to configure a project with CMake, and set it to find the GLUT package.

It finds the GLUT library fine, but gives me errors with regards to GLUT Xi and GLUT Xmu:



CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLUT_Xi_LIBRARY (ADVANCED)
linked by target "WindowsTest" in directory /home/me/devl/c++/game/2DGame/src
GLUT_Xmu_LIBRARY (ADVANCED)
linked by target "WindowsTest" in directory /home/me/devl/c++/game/2DGame/src


Can somebody shed some light on this?

RobotGymnast
March 10th, 2011, 01:02 PM
Bamp.

EnCuKou
March 10th, 2011, 01:48 PM
Just had the same problem, and solved it by installing the corresponding packages :)


sudo apt-get install libxmu-dev libxi-dev

Hope it helps!

RobotGymnast
March 10th, 2011, 09:46 PM
Great, thanks!

legends2k
March 11th, 2013, 04:23 AM
Helped me too, thanks!

peng6662001
March 12th, 2013, 03:48 AM
It worked.

tidy1995
October 26th, 2013, 03:23 PM
Work fine, thanks!