Re: CoreGraphics Include Issue
Re: CoreGraphics Include Issue
- Subject: Re: CoreGraphics Include Issue
- From: Terry Lambert <email@hidden>
- Date: Sat, 25 Apr 2009 22:07:50 -0700
I would look at lines 101-103 of CGDataProvider.h; the error is a
typical compiler error one gets when using a typedef'ed type which is
not in scope because you forgot to include another header file first,
or because there is a conflicting #define the changes it to something
else.
-- Terry
On Apr 25, 2009, at 8:09 PM, Jeshua Lacock <email@hidden> wrote:
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_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:109: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:116: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:130: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:135: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:140: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:146: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:152: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:158: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:165: error: syntax error before ‘CG_AVAILABLE_START
ING’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:225: error: syntax error before ‘CG_AVAILABLE_BUT_D
EPRECATED’
/System/Library/Frameworks/CoreGraphics.framework/Headers/
CGDataProvider.h:233: error: syntax error before ‘CG_AVAILABLE_BUT_D
EPRECATED’
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
_______________________________________________
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