Re: How to include a .c file in a loadable bundle?

2008-08-13 Thread Jesse Grosjean
Perhaps a precompiled headers problem? See Ken, Thanks, that seems to have been the problem. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post a

Re: How to include a .c file in a loadable bundle?

2008-08-13 Thread Jason Coco
You can't use Foundation in a C file... it's an Objective-C framework. Use CoreFoundation instead... you're getting these errors because Foundation/Foundation.h includes many Object-C statements which won't compile in C. HTH, Jason On Aug 13, 2008, at 13:05 , Jesse Grosjean wrote: Feeling

Re: How to include a .c file in a loadable bundle?

2008-08-13 Thread Ken Ferry
Perhaps a precompiled headers problem? See -Ken On Wed, Aug 13, 2008 at 10:05 AM, Jesse Grosjean <[EMAIL PROTECTED]> wrote: > Feeling pretty dumb here, but I can't seem to include a .c file in my > loadable bundle target. I ge

How to include a .c file in a loadable bundle?

2008-08-13 Thread Jesse Grosjean
Feeling pretty dumb here, but I can't seem to include a .c file in my loadable bundle target. I get a ton of errors. Is there some trick that I'm missing. Here's what I'm doing. 1. Create new Xcode "Cocoa Application" project. 2. Create new loadable bundle in that project. 3. Add new Carbon C