CMake could not find OpenGL in Ubuntu -


i want install vtk in ubuntu. cmake sends me error :

cmake error @ /usr/share/cmake-2.8/modules/findpackagehandlestandardargs.cmake:108 (message): not find opengl (missing: opengl_gl_library opengl_include_dir) call stack (most recent call first):
/usr/share/cmake-2.8/modules/findpackagehandlestandardargs.cmake:315 (_fphsa_failure_message)
/usr/share/cmake-2.8/modules/findopengl.cmake:161 (find_package_handle_standard_args)
rendering/opengl/cmakelists.txt:196 (find_package)

cmake error: following variables used in project, set notfound. please set them or make sure set , tested correctly in cmake files: opengl_include_dir (advanced) used include directory in directory /home/pilou/documents/src/vtk-6.2.0/geovis/core

i have hence installed freeglut3 , build-essential (as have seen on internet). nothing has changed.

how find opengl write own link cmake? else install vtk?

ok need install freeglut3-dev instead of freeglut3 ! contains development librairies , headers freeglut3.

fiy, can install on linux:

sudo apt-get install freeglut3-dev 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -