QGLViewer simpleViewer example built with cmake not running
问题 I'm trying to familiarize with QGLViewer (http://libqglviewer.com/) so I installed it (on Ubuntu 14.04) and I'm trying to run the simpleViewer (which is a provided example). Now, the code can be built using qmake, but I want to compile the code with cmake so I wrote the following CMakeLists.txt: cmake_minimum_required(VERSION 2.6) PROJECT(simple_viewer) SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules) FIND_PACKAGE(OpenGL REQUIRED) INCLUDE_DIRECTORIES(${OPENGL_INCLUDE}) FIND_PACKAGE