Open coolbutuseless opened 1 month ago
Thanks @coolbutuseless for reporting this issue. I need to get my hands on a macOS to debug this.
As per this post: https://stackoverflow.com/questions/54181078/opengl-3-3-mac-error-validating-program-validation-failed-no-vertex-array-ob, could you try:
moving these lines:
vs <- system.file("tutorials/learnopengl/camera/camera.vs", package = "glfw")
fs <- system.file("tutorials/learnopengl/camera/camera.fs", package = "glfw")
program <- build_program(vert = vs, frag = fs)
to line 196 of camera_mouse_zoom.R
:
gl_enable_vertex_attrib_array(1L)
That did the trick!
That's awesome!
I got it to compile OK on macOS using the following
Makevars
(with 'glfw` and 'glew' installed via homebrew)However, trying to run
camera_mouse_zoom.R
fails here:sessionInfo()