flyx / OpenGLAda

Thick Ada binding for OpenGL and GLFW
flyx.github.io/OpenGLAda/
MIT License
95 stars 13 forks source link

Test builds fail with _glfwRawMouseMotionSupported undefined #151

Closed rogermc2 closed 2 years ago

rogermc2 commented 2 years ago

When I attempt to build any of the test programs I get the following error:

Undefined symbols for architecture x86_64:
  "_glfwRawMouseMotionSupported", referenced from:
      _glfw__input__mouse__raw_motion_supported in libGlfwAda.a(glfw-input-mouse.o)
flyx commented 2 years ago

Your GLFW library is too old. PR #149 introduced this binding which requires GLFW 3.3 or newer. I updated the alire.toml file to reflect this but depending on your system you need to take manual action to update the library.

rogermc2 commented 2 years ago

Thanks. I was getting some alr messages regarding regarding glfw3^3 which I didn't understand. So, your answer explains this. I'm now upgrading glfw with brew:

==> Upgrading 1 outdated package:
glfw 3.2.1 -> 3.3.6