Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>On all of my OS X development machines, I have: <code>/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers</code></p> <p>I even have SDKs for targeted versions:</p> <blockquote> <p>/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h</p> <p>...</p> </blockquote> <pre><code>[ andon@Aleph : ~ ] ls -lA "/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers" total 1464 -rw-r--r-- 1 root wheel 557B Mar 3 2010 CGLContext.h -rw-r--r-- 1 root wheel 381B Mar 3 2010 CGLCurrent.h -rw-r--r-- 1 root wheel 389B Mar 3 2010 CGLDevice.h -rw-r--r-- 1 root wheel 14K Mar 3 2010 CGLIOSurface.h -rw-r--r-- 1 root wheel 128K Mar 3 2010 CGLMacro.h -rw-r--r-- 1 root wheel 6.4K Feb 12 2011 CGLProfiler.h -rw-r--r-- 1 root wheel 28K Feb 12 2011 CGLProfilerFunctionEnum.h -rw-r--r-- 1 root wheel 1.5K Mar 3 2010 CGLRenderers.h -rw-r--r-- 1 root wheel 14K Mar 3 2010 CGLTypes.h -rw-r--r-- 1 root wheel 5.6K Mar 3 2010 OpenGL.h -rw-r--r-- 1 root wheel 151K Mar 3 2010 gl.h -rw-r--r-- 1 root wheel 267K Mar 3 2010 glext.h -rw-r--r-- 1 root wheel 328B Mar 3 2010 gliContext.h -rw-r--r-- 1 root wheel 63K Mar 3 2010 gliDispatch.h -rw-r--r-- 1 root wheel 16K Mar 3 2010 glu.h -rw-r--r-- 1 root wheel 2.6K Mar 3 2010 gluContext.h -rw-r--r-- 1 root wheel 2.2K Mar 3 2010 gluMacro.h</code></pre> <p>Regardless where the file is, the fact that it's in <code>.../Library/Frameworks/OpenGL.framework/...</code> is an indication that you need to add <code>-framework OpenGL</code> to your compiler/linker switches for includes and libraries to be located correctly.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload