You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When compiling the showcase example on an Intel-based Macbook, it fails with the error "Undefined symbols for architecture x86_64." I know this has been reported in the past but it was for a different version of macOS and I didn't want to hijack another thread.
= note: Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_CHHapticDynamicParameter", referenced from:
objc-class-ref in libsdl2_sys-ee657edccdc41d23.rlib(SDL_mfijoystick.m.o)
"_OBJC_CLASS_$_CHHapticEventParameter", referenced from:
objc-class-ref in libsdl2_sys-ee657edccdc41d23.rlib(SDL_mfijoystick.m.o)
"_CHHapticDynamicParameterIDHapticIntensityControl", referenced from:
-[SDL_RumbleMotor setIntensity:] in libsdl2_sys-ee657edccdc41d23.rlib(SDL_mfijoystick.m.o)
"_CHHapticEventParameterIDHapticIntensity", referenced from:
-[SDL_RumbleMotor setIntensity:] in libsdl2_sys-ee657edccdc41d23.rlib(SDL_mfijoystick.m.o)
"_OBJC_CLASS_$_CHHapticPattern", referenced from:
objc-class-ref in libsdl2_sys-ee657edccdc41d23.rlib(SDL_mfijoystick.m.o)
"_OBJC_CLASS_$_CHHapticEvent", referenced from:
objc-class-ref in libsdl2_sys-ee657edccdc41d23.rlib(SDL_mfijoystick.m.o)
"_CHHapticEventTypeHapticContinuous", referenced from:
-[SDL_RumbleMotor setIntensity:] in libsdl2_sys-ee657edccdc41d23.rlib(SDL_mfijoystick.m.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `orbtk` due to previous error
To Reproduce
Steps to reproduce the behavior:
Clone this repo.
Install sdl2 with Homebrew.
Build the showcase example as described in the README, with or without the "bundled" feature.
See error
Expected behavior
the build process to complete successfully
Describe the bug
When compiling the showcase example on an Intel-based Macbook, it fails with the error "Undefined symbols for architecture x86_64." I know this has been reported in the past but it was for a different version of macOS and I didn't want to hijack another thread.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the build process to complete successfully
Desktop:
Additional context
brew install sdl2
)I also tried
export LIBRARY_PATH="$(brew --prefix)/lib"
as suggested by the rust-sdl2 project but this made no difference.The text was updated successfully, but these errors were encountered: