Lablgtk Fatal Error

I’m working on a final project for a course and we’re using Lablgtk for our GUI. When either of my team members run ‘make play’ they have no issue loading the GUI whereas I receive the below error when attempting to run it. I’ve tried reinstalling lablgtk and I’m confident I’ve installed the same libraries as my other group members since we were all working on the same opam switch. I’m super new to OCAML so I may be misexplaining some concepts, but any sort of help would be amazing. Thanks!

You need to call GMain.init () before creating any widgets. Just my guess.

1 Like