-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to install Lablgtk3 on Windows (Diskuv) #165
Comments
I'm sorry, you probably need to at least use gcc to install lablgtk3. |
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 was testing the new diff --git a/src/dune b/src/dune
index b712a7f7..c996707d 100644
--- a/src/dune
+++ b/src/dune
@@ -34,6 +34,6 @@
ml_gtkmenu ml_gtkfile ml_gtktree ml_gtkpack
ml_gtkstock ml_gtkrange ml_gtkassistant
)
- (c_flags (:include cflag-gtk+-3.0.sexp) (:include cflag-extraflags.sexp) -Wno-deprecated-declarations)
+ (c_flags (:include cflag-gtk+-3.0.sexp) (:include cflag-extraflags.sexp))
(c_library_flags (:include clink-gtk+-3.0.sexp))
(libraries threads cairo2))
|
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)The text was updated successfully, but these errors were encountered: