Re: [newbie] 10.2 Build problems
Re: [newbie] 10.2 Build problems
- Subject: Re: [newbie] 10.2 Build problems
- From: Kurt Revis <email@hidden>
- Date: Mon, 16 Sep 2002 10:02:37 -0700
On Monday, September 16, 2002, at 06:41 AM, Alan leigh wrote:
IOWacomInterface.h:70: `dsSysErr' undeclared here (not in a function)
IOWacomInterface.h:70: enumerator value for `Wacom_Failure' not
integer constant
and similar errors for openErr and unimpErr.
They're defined in MacErrors.h, which is in Carbon. So include
<Carbon/Carbon.h> before this code. (It looks like the Cocoa headers
pull this in too, so even #include <Cocoa/Cocoa.h> might work.)
I have searched for these but find no reference to them anywhere.
In the spirit of "teach a man to fish"... How are you searching?
Whatever you're doing, it's not working.
If there is a constant or function that you can't find, even though you
think it should be present, use 'grep' on the command line to search
through the headers. On the command line:
% find /System/Library/Frameworks -name \*.h -print0 | xargs -0 grep
dsSysErr
/System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h:
dsSysErr = 32767, /*general system error*/
You may want to search in /usr/include too, in some cases.
Also, there is a convenient search box at
http://developer.apple.com.
Searching for dsSysErr and openErr and unimpErr returns quite a few
hits.
--
Kurt Revis
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.