• 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
Errors trying to compile HID support?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errors trying to compile HID support?


  • Subject: Errors trying to compile HID support?
  • From: Bob Sabiston <email@hidden>
  • Date: Fri, 23 Sep 2005 12:10:57 -0500

Hello,
   I'm sorry for all the messages, it has been a real chore trying to move from codewarrior.  I wish that copying error text out of Xcode's window didn't screw up my Mail message windows.  There is some kind of screwy formatting that copies with the text and makes Mail act weird.

But here is my new question, and thanks so much to everyone who has assisted with the others!  It's trying to compile Apple's HID Support code, which is C, and I'm getting compile errors.  I hesitate to change these to .cpp, and I don't think that would help anyway.  At the bottom of this message are a couple of the errors I am getting.  Do they look familiar?

It's the file HID_Utilities.h.  Does anyone use that?  Perhaps I need to add some new include to my prefix?

Here's what I have now:
// MWPrefix.h
// prefix file for our Mac projects

#ifndef __Prefix_File__
#define __Prefix_File__

#define TARGET_API_MAC_OSX 1
#include <stdio.h>
#include <CoreServices/CoreServices.h>
#include <Carbon/Carbon.h>

// for wml stuff
#define __MACOS__ 1

#endif    // __Prefix_File__


The Errors I am getting:

error: '__CFDictionary' undeclared (first use in this function)
error: '__CFBoolean' undeclared (first use in this function)
error: invalid storage class for function 'HIDGetElementsCFArrayHandler'

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: 2 byte wchar_t...
  • Next by Date: Re: Resources missing when project is built
  • Previous by thread: Re: 2 byte wchar_t...
  • Next by thread: Spin Control, how to export all at once? (Xcode is sloooowww)
  • Index(es):
    • Date
    • Thread