Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linking error on OSX #94

Merged
merged 1 commit into from Mar 27, 2017
Merged

Fix linking error on OSX #94

merged 1 commit into from Mar 27, 2017

Conversation

garbear
Copy link
Member

@garbear garbear commented Mar 25, 2017

Error was:

[100%] Linking CXX shared library peripheral.joystick.dylib
Undefined symbols for architecture x86_64:
  "_IOHIDDeviceCopyMatchingElements", referenced from:
      JOYSTICK::CJoystickCocoa::Initialize() in JoystickCocoa.cpp.o
  "_IOHIDDeviceGetProperty", referenced from:
      JOYSTICK::CJoystickCocoa::Initialize() in JoystickCocoa.cpp.o
  "_IOHIDElementGetDevice", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::InputValueChanged(__IOHIDValue*) in JoystickInterfaceCocoa.cpp.o
  "_IOHIDElementGetLogicalMax", referenced from:
      JOYSTICK::CJoystickCocoa::Initialize() in JoystickCocoa.cpp.o
  "_IOHIDElementGetLogicalMin", referenced from:
      JOYSTICK::CJoystickCocoa::Initialize() in JoystickCocoa.cpp.o
  "_IOHIDElementGetUsage", referenced from:
      JOYSTICK::CJoystickCocoa::Initialize() in JoystickCocoa.cpp.o
  "_IOHIDElementGetUsagePage", referenced from:
      JOYSTICK::CJoystickCocoa::Initialize() in JoystickCocoa.cpp.o
  "_IOHIDManagerClose", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Deinitialize() in JoystickInterfaceCocoa.cpp.o
      JOYSTICK::CJoystickInterfaceCocoa::~CJoystickInterfaceCocoa() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDManagerCreate", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Initialize() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDManagerOpen", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Initialize() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDManagerRegisterDeviceMatchingCallback", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Initialize() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDManagerRegisterDeviceRemovalCallback", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Initialize() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDManagerRegisterInputValueCallback", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Initialize() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDManagerScheduleWithRunLoop", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Initialize() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDManagerSetDeviceMatchingMultiple", referenced from:
      JOYSTICK::CJoystickInterfaceCocoa::Initialize() in JoystickInterfaceCocoa.cpp.o
  "_IOHIDValueGetElement", referenced from:
      JOYSTICK::CJoystickCocoa::InputValueChanged(__IOHIDValue*) in JoystickCocoa.cpp.o
      JOYSTICK::CJoystickInterfaceCocoa::InputValueChanged(__IOHIDValue*) in JoystickInterfaceCocoa.cpp.o
  "_IOHIDValueGetIntegerValue", referenced from:
      JOYSTICK::CJoystickCocoa::InputValueChanged(__IOHIDValue*) in JoystickCocoa.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[7]: *** [peripheral.joystick.1.3.2.dylib] Error 1
make[6]: *** [CMakeFiles/peripheral.joystick.dir/all] Error 2
make[5]: *** [all] Error 2
make[4]: *** [peripheral.joystick-prefix/src/peripheral.joystick-stamp/peripheral.joystick-build] Error 2
make[3]: *** [CMakeFiles/peripheral.joystick.dir/all] Error 2
make[2]: *** [CMakeFiles/peripheral.joystick.dir/rule] Error 2
make[1]: *** [peripheral.joystick] Error 2

@garbear garbear merged commit b9217a8 into xbmc:master Mar 27, 2017
@garbear garbear deleted the fix-osx branch March 27, 2017 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant