View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000397 | CMake | public | 2003-11-24 11:12 | 2004-01-11 14:22 | |||||
Reporter | Fred Wheeler | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000397: FindOpenGL.cmake does not look to /usr/include/w32api/GL | ||||||||
Description | Here is a section of FindOpenGL.cmake: IF (CYGWIN) FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h /usr/include /usr/X11R6/include ) FIND_LIBRARY(OPENGL_gl_LIBRARY opengl32 /usr/lib /usr/lib/w32api ) FIND_LIBRARY(OPENGL_glu_LIBRARY glu32 /usr/lib /usr/lib/w32api ) ELSE (CYGWIN) I think this should be changed to: IF (CYGWIN) FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h /usr/include /usr/include/w32api /usr/X11R6/include ) FIND_LIBRARY(OPENGL_gl_LIBRARY opengl32 /usr/lib /usr/lib/w32api ) FIND_LIBRARY(OPENGL_glu_LIBRARY glu32 /usr/lib /usr/lib/w32api ) ELSE (CYGWIN) If you install cygwin package w32api-2.4-1 (or any w32api package I assume) but not the X11R6 packages, then the above change is needed to find the opengl files. A simple workaround is this manual setting OPENGL_INCLUDE_DIR:PATH=/usr/include/w32api I have tested the workaround, but not the change to OpenGL.cmake, though it seems to be a simple matter. Fred Wheeler | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0000466) Fred Wheeler (reporter) 2004-01-11 14:22 |
I see that this is fixed in 1.8.3. Thanks! I'm changing the status to closed/fixed. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |