I’m having a problem that i can't seem to resolve. CMake doesn't seem to be able to find the OpenGL packages...
sudo cmake -G "CodeBlocks - Unix Makefiles"
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindOpenGL.cmake:153 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/SFML/Window/CMakeLists.txt:103 (find_package)
-- Configuring incomplete, errors occurred!
Which doesn't make sense considering I have OpenGL installed, for ex.
glxinfo | grep OpenGL
returns
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 9.0
OpenGL shading language version string: 1.30
OpenGL extensions:
So i know its installed.
Any help?