FindOpenGL.cmake does not find OpenGL

Bug #648644 reported by Udo Waechter
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cmake (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: cmake

in /usr/shace/cmake-2.8/Modules/FindOpenGL.cmake, most of the paths where GL/gl.h (and GLU) should be found are totally senseless. Especially "/usr/include" is not added which results in OpenGL not found by cmake.

Patch is attached

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cmake-data 2.8.1-4~lucid1 [modified: usr/share/cmake-2.8/Modules/FindOpenGL.cmake]
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Sep 27 11:19:39 2010
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: cmake

Revision history for this message
Udo Waechter (o-admin-ikw-uni-osnabrueck-de) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cmake (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

hi Udo, the /usr/include and /usr/lib are automatically found by cmake, no need to add them manually.
if you want to contribute, please followup on the old-unanswered upstream bug
http://public.kitware.com/Bug/view.php?id=7437

in the meanwhile I'll close this one.

Changed in cmake (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.