node-3d / glfw-raub

GLFW for Node.js
https://github.com/node-3d/node-3d
MIT License
57 stars 12 forks source link

Mac 10.14 Mojave error #21

Closed bvkimball closed 1 year ago

bvkimball commented 2 years ago
dyld: lazy symbol binding failed: Symbol not found: _objc_opt_respondsToSelector
  Referenced from: ./node_modules/glfw-raub/bin-osx/../../deps-opengl-raub/bin-osx/glfw.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_opt_respondsToSelector
  Referenced from: ./node_modules/glfw-raub/bin-osx/../../deps-opengl-raub/bin-osx/glfw.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib

found a similar error here: https://github.com/koekeishiya/yabai/issues/371, seem like maybe you could add argument -mmacosx-version-min=10.13 to support older macs maybe. Updating my Mac to see if my error goes away :)

raub commented 2 years ago

Hello! It was compiled with 10.15... And in future I am likely to start using mac 11 (in GitHub Actions). I wonder if -mmacosx-version-min=10.13 is going to work that far, and properly.

bvkimball commented 2 years ago

Yeah, i updated my mac and it working now. Really just stumbling through getting everything setup, ran into the error and thought i would post it just incase someone else gets stuck.

blancalarraga commented 2 years ago

Could you give the details on what you did? I am not an expert with computers but I am having the same error with Mojave and I do not know in which file should I include the argument you mentioned. Thanks!!

raub commented 2 years ago

@blancalarraga the error seems to have been resolved by updating the MAC to a more recent OS version