iDevGames Forums
XCode compiling c/cpp - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: XCode compiling c/cpp (/thread-1401.html)



XCode compiling c/cpp - OptimisticMonkey - Apr 24, 2009 01:06 PM

I have a cocoa project that uses c/c++ and works great. This is the level designer.

I added a new application target - this one will be the actual app.
Everything compiles fine until I add c or cpp files to the target.

Then I get 1900+ compilation errors in Appkit.h ...

How can I tell it it that the added files are c or cpp?

Thanks for any help


XCode compiling c/cpp - OptimisticMonkey - Apr 24, 2009 01:14 PM

Looks like the prefix header was set to /Frameworks/AppKit.framework/Headers/AppKit.h

on the broken target.

Fixed it and now it works... :-)