Re: lablgtk under windows, problems
Jacques GARRIGUE <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
From: "Benjamin Vadon" <[email protected]> > After all that (in many, many, many differents attempts) when I run > lablgtk2.bat testgtk.ml , this error is returned : > > > Fatal error: exception Failure("float_of_string") > > This happen with at the least one other tron.ml, not with about.ml. > I can test others if you want (need). This looks like a locale problem. It thought is was solved in 2.10.2, but if it pops up again the solution is to set GTK_SETLOCALE to 0 in the environment. You can check the current locale by looking at GtkInit.locale. The French locale is usually problematic, as it parses floating point numbers in a different way. Jacques