CoreGraphics Include Issue
CoreGraphics Include Issue
- Subject: CoreGraphics Include Issue
- From: Jeshua Lacock <email@hidden>
- Date: Sat, 25 Apr 2009 21:09:54 -0600
Greetings,
I attempting to build QEMU on Darwin 9.5.0 and experiencing an issue
with CoreGraphics. Basically I am getting a message "syntax error
before ‘CG_AVAILABLE_STARTING’".
I have tried adding '-framework CoreGraphics" to the makefile, but
does not seem to help. Apparently someone else having this issue came
up with a resolution who was using XCode. The suggestion was to remove
all the lines from the "Framework Search Paths", the thread is here: http://discussions.apple.com/thread.jspa?messageID=7578428
I am building from the command line so not sure how to achieve similar
results.
Here is the messages that I am getting (this is essentially repeated
many times):
In file included from /System/Library/Frameworks/
CoreGraphics.framework/Headers/CGColorSpace.h:11,
from /System/Library/Frameworks/
CoreGraphics.framework/Headers/CGColor.h:11,
from /System/Library/Frameworks/
CoreGraphics.framework/Headers/CGContext.h:12,
from /System/Library/Frameworks/
CoreGraphics.framework/Headers/CGBitmapContext.h:9,
from /System/Library/Frameworks/
CoreGraphics.framework/Headers/CoreGraphics.h:11,
from /System/Library/Frameworks/
ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:25,
from /System/Library/Frameworks/
ApplicationServices.framework/Headers/ApplicationServices.h:30,
from /System/Library/Frameworks/Foundation.framework/
Headers/NSAppleEventDescriptor.h:8,
from /System/Library/Frameworks/Foundation.framework/
Headers/Foundation.h:107,
from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,
from cocoa.m:25:
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:102: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:109: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:116: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:130: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:135: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:140: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:146: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:152: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:158: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:165: error: syntax error before ‘CG_AVAILABLE_STARTING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:225: error: syntax error before
‘CG_AVAILABLE_BUT_DEPRECATED’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:233: error: syntax error before
‘CG_AVAILABLE_BUT_DEPRECATED’
I would greatly appreciate any advice, pointers or tips.
Thanks,
Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden