[cairo] Cairo on mac with icc

David Turner david at freetype.org
Tue Sep 30 04:22:04 PDT 2008

I don't know if this will help, but I had exactly the same problem when
installing XCode 3.1.
I had to hack around with something like this:

#if defined(__APPLE__)
/* the following hack is needed in order to build with XCode 3.1
 * don't ask me why, but it seems that there were changes in the
 * GCC compiler that require this
#import <Carbon/Carbon.h>

for the record, this was only needed because I'm building this program with
a pre-compiled version of GCC (don't ask).
If I use the gcc binary provided with the new SDK, the error disappeared.
However, for various technical reasons, I
cannot use it, hence the hack.

I don't know if this is exactly the same problem you're facing, just hope it
will save your several hours of wonder/debugging

- David

2008/9/29 Augusto Radtke <radtke at radtke.com.br>

> Has anyone any experience on compiling cairo on Mac OS X with the
> Intel icc compiler? I'm facing a lot of errors with CoreFoundation, I
> believe it's not cairo problems at all but if anyone had this problem
> before would be helpful.
> Things like that:
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h(53):
> error: expected a ";"
>  CFN_EXPORT const CFStringRef kCFErrorDomainCFNetwork
> Augusto
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080930/3894c83f/attachment-0001.html 

More information about the cairo mailing list