Note that there are some explanatory texts on larger screens.

plurals
  1. USSurikator
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COAlso, there's a strange thing happening. If I compile a `helloworld.ml` with `ocamlc -I +lablgtk2 -o helloworld lablgtk.cma gtkInit.cmo helloworld.ml` everything is fine and the executable runs. But if I compile with `ocamlbuild -libs lablgtk -cflags -I,/Users/surikator/godi/lib/ocaml/pkg-lib/lablgtk2 -lflags -I,/Users/surikator/godi/lib/ocaml/pkg-lib/lablgtk2 tmp/toolbar.native` compilation is fine but at runtime I get segmentation fault with lots of things like `GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed`.
      singulars
    2. CO@MichaelE Yes, the order was: (1) remove x11 GTK, (2) install quartz GTK, (3) uninstall lablgtk2 in GODI, (4) install lablgtk2 in GODI. I've now managed to install godi-lablgtk2 with the --without-glade and it successfully compiled. That's somehow good news, but one of the great things I was expecting from GTK was precisely Glade. Any ideas?
      singulars
    3. CO@MichaelE Thanks for the thorough and very useful answer. Glad to hear it works cross-platform.Yes, I considered the backend option, especially because my system will have a terminal/console UI too, so it would seem a viable option. But the GUI should also present some internal ocaml data structures to the users and I wouldn't want to have to replicate them in C++ or something else. So, for now, I'll keep trying to fix my lablgtk2 installation. See my next comment.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload