[Plib-devel] src/js/jsMacOSX Does Not Build
Brought to you by:
sjbaker
From: Jonathan P. <eq_...@ma...> - 2003-01-06 21:36:53
|
When I try to build the latest plib for MacOS 10.2, I get the following errors: In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:18, from /System/Library/Frameworks/CoreFoundation.framework/Headers/ CFPlugIn.h:12, from /System/Library/Frameworks/IOKit.framework/Headers/IOCFPlugIn.h:31, from jsMacOSX.cxx:7: /System/Library/Frameworks/CoreServices.framework/Headers/../ Frameworks/CarbonCore.framework/Headers/MacTypes.h:75: redefinition of `struct wide' /usr/include/libkern/OSTypes.h:61: previous definition of `struct wide' /System/Library/Frameworks/CoreServices.framework/Headers/../ Frameworks/CarbonCore.framework/Headers/MacTypes.h:80: redefinition of `struct UnsignedWide' /usr/include/libkern/OSTypes.h:43: previous definition of `struct UnsignedWide' /System/Library/Frameworks/CoreServices.framework/Headers/../ Frameworks/CarbonCore.framework/Headers/MacTypes.h:437: conflicting types for `struct Point' /System/Library/Frameworks/IOKit.framework/Headers/graphics/ IOGraphicsTypes.h:450: previous declaration as `typedef struct IOGPoint Point' jsMacOSX.cxx:17: `int jsJoystick::kNumDevices' is not a static member of `class jsJoystick' jsMacOSX.cxx:18: `int jsJoystick::numDevices' is not a static member of `class jsJoystick' jsMacOSX.cxx:19: `kNumDevices' was not declared in this scope jsMacOSX.cxx:21: redefinition of `jsJoystick::jsJoystick(int)' js.h:599: `jsJoystick::jsJoystick(int = 0)' previously defined here jsMacOSX.cxx:21: no `jsJoystick::jsJoystick(int)' member function declared in class `jsJoystick' jsMacOSX.cxx: In constructor `jsJoystick::jsJoystick(int)': jsMacOSX.cxx:22: class `jsJoystick' does not have any field named `id' jsMacOSX.cxx:27: `numDevices' undeclared (first use this function) jsMacOSX.cxx:27: (Each undeclared identifier is reported only once for each function it appears in.) jsMacOSX.cxx:37: `findDevices' undeclared (first use this function) jsMacOSX.cxx:46: `ioDevices' undeclared (first use this function) jsMacOSX.cxx:46: `id' undeclared (first use this function) jsMacOSX.cxx:46: `getCFProperties' undeclared (first use this function) jsMacOSX.cxx: At global scope: jsMacOSX.cxx:64: no `void jsJoystick::findDevices(unsigned int)' member function declared in class `jsJoystick' jsMacOSX.cxx:105: redefinition of `void jsJoystick::open()' js.h:266: `void jsJoystick::open()' previously defined here jsMacOSX.cxx:105: no `void jsJoystick::open()' member function declared in class `jsJoystick' jsMacOSX.cxx: In member function `void jsJoystick::open()': jsMacOSX.cxx:117: `kIOHIDDeviceUserClientTypeID' undeclared (first use this function) jsMacOSX.cxx:127: `kIOHIDDeviceInterfaceID' undeclared (first use this function) jsMacOSX.cxx:127: `hidDev' undeclared (first use this function) jsMacOSX.cxx:147: `enumerateElements' undeclared (first use this function) jsMacOSX.cxx: At global scope: jsMacOSX.cxx:153: no `const __CFDictionary* jsJoystick::getCFProperties(unsigned int)' member function declared in class `jsJoystick' jsMacOSX.cxx:189: redefinition of `void jsJoystick::close()' js.h:545: `void jsJoystick::close()' previously defined here jsMacOSX.cxx:189: no `void jsJoystick::close()' member function declared in class `jsJoystick' jsMacOSX.cxx:194: no `void jsJoystick::elementEnumerator(const void*, void*)' member function declared in class `jsJoystick' jsMacOSX.cxx: In member function `void jsJoystick::elementEnumerator(const void*, void*)': jsMacOSX.cxx:200: no matching function for call to `jsJoystick::parseElement( const __CFDictionary*&)' jsMacOSX.cxx: At global scope: jsMacOSX.cxx:205: no `void jsJoystick::enumerateElements(const void*)' member function declared in class `jsJoystick' jsMacOSX.cxx: In member function `void jsJoystick::enumerateElements(const void*)': jsMacOSX.cxx:210: `elementEnumerator' is not a member of type `jsJoystick' jsMacOSX.cxx: At global scope: jsMacOSX.cxx:214: no `void jsJoystick::parseElement(const __CFDictionary*)' member function declared in class `jsJoystick' jsMacOSX.cxx: In member function `void jsJoystick::parseElement(const __CFDictionary*)': jsMacOSX.cxx:243: `addAxisElement' undeclared (first use this function) jsMacOSX.cxx:248: `addHatElement' undeclared (first use this function) jsMacOSX.cxx:252: warning: unsigned int format, long int arg (arg 2) jsMacOSX.cxx:257: `addButtonElement' undeclared (first use this function) jsMacOSX.cxx:259: warning: unsigned int format, long int arg (arg 2) jsMacOSX.cxx:265: `class jsJoystick' has no member named `enumerateElements' jsMacOSX.cxx: At global scope: jsMacOSX.cxx:274: no `void jsJoystick::addAxisElement(const __CFDictionary*)' member function declared in class `jsJoystick' jsMacOSX.cxx: In member function `void jsJoystick::addAxisElement(const __CFDictionary*)': jsMacOSX.cxx:282: `axisCookies' undeclared (first use this function) jsMacOSX.cxx: At global scope: jsMacOSX.cxx:300: no `void jsJoystick::addButtonElement(const __CFDictionary*)' member function declared in class `jsJoystick' jsMacOSX.cxx: In member function `void jsJoystick::addButtonElement(const __CFDictionary*)': jsMacOSX.cxx:306: `buttonCookies' undeclared (first use this function) jsMacOSX.cxx: At global scope: jsMacOSX.cxx:311: no `void jsJoystick::addHatElement(const __CFDictionary*)' member function declared in class `jsJoystick' jsMacOSX.cxx:317: redefinition of `void jsJoystick::rawRead(int*, float*)' js.h:646: `void jsJoystick::rawRead(int*, float*)' previously defined here jsMacOSX.cxx:317: no `void jsJoystick::rawRead(int*, float*)' member function declared in class `jsJoystick' jsMacOSX.cxx: In member function `void jsJoystick::rawRead(int*, float*)': jsMacOSX.cxx:319: `IOHIDEventStruct' undeclared (first use this function) jsMacOSX.cxx:319: parse error before `;' token jsMacOSX.cxx:322: `hidEvent' undeclared (first use this function) I am using the latest Apple developer tools. Thanks, Jonathan Polley |