Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building with cups.h for Tiger and Panther in Xcode 2.x



Thomas,

You will need to put copies of the headers into the SDK directory trees. So make a copy of the "cups" directory in "/usr/include" and put it into "/Developer/SDKs/MacOSX10.3.9.sdk/usr/include".

AFAIK, earlier Mac OS X versions didn't include "/usr/include/cups", so that is why they are missing from the SDK directory.

HTH,
Smith


On Dec 13, 2005, at 2:26 AM, Thomas Hartwich wrote:

Hi,

when I build a CUPS filter with the line #include <cups/cups.h> and link
against libcups.dylib using Xcode 2.1 or 2.2 and 10.3.9 SDK for cross
development, the build fails and I get the error: "cups/cups.h" no such file
or directory".


When I use the 10.4. (Universal) SDK it is building fine.
When I build on a machine running 10.3.9 and Xcode 1.5 and deployment target
set to 10.3 everything is fine too.


Does anybody have a hint, which settings for Xcode I am missing to build
against the 10.3.9 SDK including and using <cups/cups.h>?


Thanks in advance
Thomas Hartwich

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden

References: 
 >Building with cups.h for Tiger and Panther in Xcode 2.x (From: Thomas Hartwich <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.