On Fri, Sep 25, 2009 at 9:46 PM, slasktrattena...@gmail.com
<slasktrattena...@gmail.com> wrote:
> On Fri, Sep 25, 2009 at 9:25 PM, Nick Zitzmann <n...@chronosnet.com> wrote:
>>
>> On Sep 25, 2009, at 1:00 PM, slasktrattena...@gmail.com wrote:
>>
>>> #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
>>>   NSTouchEventSubtype             = NX_SUBTYPE_MOUSE_TOUCH // FAILS HERE
>>> #endif
>>> };
>>> #endif
>>>
>>> What's up with this and is there a way to fix it?
>>
>> NX_SUBTYPE_MOUSE_TOUCH should be defined in the IOLLEvent.h header in the
>> IOKit framework in the Snow Leopard SDK. You might want to make sure that
>> the correct header is being imported by using the preprocess feature. You
>> are using the 10.6 SDK as the base SDK for that architecture, right?
>
> I'm currently on Leopard so I can't say for sure, but now that you
> mention it, I believe the base SDK might have been set to 10.5. I'll
> have a look as soon as I reboot. Thanks for the hint!
>

Base SDK was indeed set to 10.5. I changed it to 10.6, cleaned the
project, ran preprocess and relinked the Foundation and AppKit
frameworks, yet still got the same build error.
Any other ideas?
Thanks.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to