Compiling IOHIDFamily?
Compiling IOHIDFamily?
- Subject: Compiling IOHIDFamily?
- From: Steve Gehrman <email@hidden>
- Date: Fri, 8 Oct 2004 22:04:01 -0700
I just downloaded IOHIDFamily and it doesn't compile.
Suggestions?
<x-tad-smaller>Building target “IOHIDLib” with build style “Deployment” (optimization:level ‘size’, debug-symbols:on) — (62 errors, 9 warnings)
</x-tad-smaller><x-tad-smaller> /usr/bin/g++-3.3 -c -F/Users/steve/Development/build -I/Users/steve/Development/build/include -I/Users/steve/darwin/IOHIDFamily-86.15/IOHIDFamily -IIOHIDLib -arch ppc -fno-common -fpascal-strings -Os -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -g -Wp,-header-mapfile,/Users/steve/Development/build/intermediate/IOHIDFamily.build/IOHIDLib.build/IOHIDLib.hmap IOHIDLib/IOHIDDeviceClass.cpp -o /Users/steve/Development/build/intermediate/IOHIDFamily.build/IOHIDLib.build/Objects-normal/ppc/IOHIDDeviceClass.o
</x-tad-smaller><x-tad-smaller>IOHIDLib/IOHIDDeviceClass.cpp: In member function `kern_return_t IOHIDDeviceClass::CreateLeafElements(const __CFDictionary*, __CFSet*, const void*, long int*, const __CFString*, IOHIDElementStruct*)':
IOHIDLib/IOHIDDeviceClass.cpp:1730: error: parse error before string constant
IOHIDLib/IOHIDDeviceClass.cpp:1730: error: parse error before `)' token
IOHIDLib/IOHIDDeviceClass.cpp:1730: error: parse error before string constant
IOHIDLib/IOHIDDeviceClass.cpp:1730: error: parse error before `)' token
</x-tad-smaller><x-tad-smaller> /usr/bin/g++-3.3 -c -F/Users/steve/Development/build -I/Users/steve/Development/build/include -I/Users/steve/darwin/IOHIDFamily-86.15/IOHIDFamily -IIOHIDLib -arch ppc -fno-common -fpascal-strings -Os -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -g -Wp,-header-mapfile,/Users/steve/Development/build/intermediate/IOHIDFamily.build/IOHIDLib.build/IOHIDLib.hmap IOHIDLib/IOHIDIUnknown.cpp -o /Users/steve/Development/build/intermediate/IOHIDFamily.build/IOHIDLib.build/Objects-normal/ppc/IOHIDIUnknown.o
</x-tad-smaller><x-tad-smaller>In file included from IOHIDLib/IOHIDIUnknown.cpp:31:
IOHIDLib/IOHIDUPSClass.h:28:34: IOKit/ps/IOUPSPlugIn.h: No such file or directory
In file included from IOHIDLib/IOHIDIUnknown.cpp:31:
IOHIDLib/IOHIDUPSClass.h:68: warning: ISO C++ forbids declaration of `IOUPSPlugInInterface' with no type
IOHIDLib/IOHIDUPSClass.h:68: error: parse error before `;' token
IOHIDLib/IOHIDUPSClass.h:89: error: 'IOUPSEventCallbackFunction' is used as a type, but is not defined as a type.
IOHIDLib/IOHIDUPSClass.h:125: error: type specifier omitted for parameter `IOUPSEventCallbackFunction'
IOHIDLib/IOHIDUPSClass.h:125: error: parse error before `,' token
IOHIDLib/IOHIDUPSClass.h:187: error: `IOUPSEventCallbackFunction' was not declared in this scope
IOHIDLib/IOHIDUPSClass.h:187: error: parse error before `,' token
IOHIDLib/IOHIDIUnknown.cpp: In function `void* IOHIDLibFactory(const __CFAllocator*, const __CFUUID*)':
IOHIDLib/IOHIDIUnknown.cpp:39: error: `kIOUPSPlugInTypeID' undeclared (first use this function)
IOHIDLib/IOHIDIUnknown.cpp:39: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from IOHIDLib/IOHIDIUnknown.cpp:31:
IOHIDLib/IOHIDUPSClass.h:28:34: IOKit/ps/IOUPSPlugIn.h: No such file or directory
In file included from IOHIDLib/IOHIDIUnknown.cpp:31:
IOHIDLib/IOHIDUPSClass.h:68: warning: ISO C++ forbids declaration of `IOUPSPlugInInterface' with no type
IOHIDLib/IOHIDUPSClass.h:68: error: parse error before `;' token
IOHIDLib/IOHIDUPSClass.h:89: error: 'IOUPSEventCallbackFunction' is used as a type, but is not defined as a type.
IOHIDLib/IOHIDUPSClass.h:125: error: type specifier omitted for parameter `IOUPSEventCallbackFunction'
IOHIDLib/IOHIDUPSClass.h:125: error: parse error before `,' token
IOHIDLib/IOHIDUPSClass.h:187: error: `IOUPSEventCallbackFunction' was not declared in this scope
IOHIDLib/IOHIDUPSClass.h:187: error: parse error before `,' token
....
..
</x-tad-smaller>
-steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden