lablgl
lablgl copied to clipboard
LablGL: an openGL interface for OCaml
``` [ERROR] The compilation of conf-freeglut.1 failed at "pkg-config --exists glut". ⬇ retrieved lablgl.1.07 (https://opam.ocaml.org/cache) #=== ERROR while compiling conf-freeglut.1 ====================================# # context 2.1.2 | linux/x86_64 | ocaml-base-compiler.5.0.0 | https://opam.ocaml.org#bbba52e4...
looks like plain wrong names... somehow ``` ml_togl.c: In function 'TOGLenum_val': ml_togl.c:34:5: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration ] 34 | invalid_argument ("Unknown Togl tag");...
otherwise the linker complains
The Fedora project is preparing for GCC 14, which will be stricter about certain C code constructs, such as implicit function return types, mismatched pointer types, and implicit conversions between...
`ctable` can be dereferenced in the following conditional block, so move deallocation after the block.
This is a first pass that at least compiles with Tcl/Tk 9.0. The hardest part is that the old argc/argv interface for many functions has been completely removed, see https://core.tcl-lang.org/tips/doc/main/tip/647.md....
Original patch by @jamesjer Jerry James
NOTE: requires the package "not-ocamlfind" be installed. I don't know where the opam file comes from, so I couldn't fix that up.