Skip navigation.
 
mlRe: Including <Agl/agl.h> ...
FROM : Shawn Erickson
DATE : Sun Nov 18 17:32:56 2007

On Nov 17, 2007, at 11:16 PM, Graham Reitz wrote:

> I created a Cocoa application using the Xcode wizard and wanted to 
> try some example from the OpenGL SuperBible and keep getting no such 
> file or directory errors with the agl.h header.
>
> I come from the C++ world and I am quite confused how this is 
> supposed to work.  I found the agl.h header file at:
>
> /System/Library/Frameworks/AGL.framework/Versions/A/Headers
>
> Typically I am used to seeing the real file path match the header 
> path.  Is it different in Cocoa?  I was expecting to find agl.h in a 
> directory called /.../Agl/


This isn't a Cocoa thing, this is a Mac OS X thing called frameworks.

<http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WhatAreFrameworks.html
>

...and about how to include them...

<http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/IncludingFrameworks.html
>

-Shawn

Related mailsAuthorDate
mlIncluding <Agl/agl.h> ... Graham Reitz Nov 18, 08:16
mlRe: Including <Agl/agl.h> ... Shawn Erickson Nov 18, 17:32
mlRe: Including <Agl/agl.h> ... Graham Reitz Nov 18, 17:53
mlRe: Including <Agl/agl.h> ... Finlay Dobbie Nov 19, 12:50