• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [newbie] 10.2 Build problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] 10.2 Build problems


  • Subject: Re: [newbie] 10.2 Build problems
  • From: Alan leigh <email@hidden>
  • Date: Tue, 17 Sep 2002 15:49:35 +1000

Thanks very much for that Kurt, it did indeed help.

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.)


The reason I thought something funny might have been going on was that it built under 10.1.5.

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.


I was using find in PB, but obviously I guess if the files weren't included I wasn't going to find them :) I did try the Apple Developer search but all I got was lots of references to "this function returns dySysErr" or whatever, but nothing about it's declaration. I also did tentatively try a grep, but without much luck. Thanks very much for the help... this will all make sense soon... I just know it will! :)

Al
_______________________________________________
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.

References: 
 >Re: [newbie] 10.2 Build problems (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: Get default Browser and Mail Client
  • Next by Date: Re: Efficiency in SmallSockets
  • Previous by thread: Re: [newbie] 10.2 Build problems
  • Next by thread: a minor undo/redo question...
  • Index(es):
    • Date
    • Thread