• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Including <Agl/agl.h> ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Including <Agl/agl.h> ...


  • Subject: Including <Agl/agl.h> ...
  • From: Graham Reitz <email@hidden>
  • Date: Sun, 18 Nov 2007 01:16:45 -0600

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/

Thanks,
graham

#import <Cocoa/Cocoa.h>
#include <Agl/agl.h>

int main(int argc, char *argv[])
{
    return NSApplicationMain(argc,  (const char **) argv);
}
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Including <Agl/agl.h> ...
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: Leopard performance penalty (3x slower), NSPopAutoreleasePool
  • Next by Date: Re: Garbage Collection Caveats
  • Previous by thread: Re: Plugins Utilizing Core Data NSManagedObjectContext
  • Next by thread: Re: Including <Agl/agl.h> ...
  • Index(es):
    • Date
    • Thread