Open F-Loyer opened 1 year ago
I'm sorry, you probably need to at least use gcc to install lablgtk3. It's been a long time I have not tried to compile anything directly under windows...
But the Microsoft compiler from Visual Studio is the compiler of the Diskuv distribution. I can’t change it for gcc without changing the Distribution.
And it seems to be the privileged distribution on Windows. (tier 2 according to https://ocaml.org/docs/ocaml-on-windows)
I have compiled Gtk with gvsbuild, copied it in
C:\gtk
, addedC:\gtk\bin
in the PATH. Then the cairo2 package does install.However, òpam install lablgtk3` fails :
https://learn.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level?view=msvc-170 gives the diffferent
/W
options. They don't follow thegcc
conventions. (src/dune
,src-goocanvas2/dune
andsrc-sourceview3/dune
have this option)