[cairo-bugs] [Bug 16561] From darwinports, cairo-quartz-image-surface.c:69: error: ' kCGBitmapByteOrder32Host' undeclared

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 13 11:58:43 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16561





--- Comment #5 from Ryan Schmidt <freedesktop-2008 at ryandesign.com>  2008-08-13 11:58:40 PST ---
I think we found the problem. The user in our case was using Xcode 2.0, which
is so obsolete it isn't even available for download on Apple Developer
Connection anymore. Probably the only people who have this version are those
who bought Mac OS X 10.4.0 retail (or got 10.4.0 with their computer) and
installed Xcode from there and never updated it. I've solved the problem for
the MacPorts cairo port by requiring Xcode 2.4.1. If cairo wants to support
using Xcode 2.0, then you should know that this is the difference between
CGImage.h on a system with Xcode 2.0 and CGImage.h on a system with Xcode 2.5:

http://trac.macports.org/attachment/ticket/16213/CGImage.h-dakka.akka-ryandesign.diff

In other words, you should not assume, as you currently do, that just because
kCGBitmapByteOrder32Host is not defined, that you are running on Mac OS X
10.3.x (or using the 10.3 SDK). Several of the things you are setting in your
"#ifndef kCGBitmapByteOrder32Host" section should not be set by you on Mac OS X
10.4.x because they are already set on Mac OS X 10.4.x.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list