OpenGL+LablGL on Mac

I have some old OCaml code that uses OpenGL. I gather OpenGL is now deprecated on Mac but I’m wondering how I might resurrect this code on my Mac?

LablGL installs but compiling my code with it fails with:

File "_none_", line 1:              
Error: No implementations provided for the following modules:
        Glut referenced from bin/.main.eobjs/native/dune__exe__Main.cmx

Did you list lablgl.glut in the libraries stanza?

2 Likes

Oh wow! Now everything just works. Thank you so much! :slight_smile: