Yeah thanks, I came across it while hours of searching. It worked but it was very slow in my taste, but anyway keep up the good work :). Cheers...
MichaĆ C
ciebiada@...
Oct 1, 2008 8:55 am
10210
Trying to get up and running with ocamlbuild. This is my build.sh so far; my question is how I can avoid adding -I /opt/godi/lib/ocaml/pkg-lib/package to the...
Has anyone compiled ledit as a standalone library? that is, i don't want to add the ledit sources to my project [a la http://www.ocaml-tutorial.org/ledit], but...
Hi all, this is my first message to the group. I'm trying to run through a tutorial on getting ocamlsdl set up on os x but I'm running into a problem with...
... You'd have to link your program against fstream.cmx, i.e. add it to the list of dependencies of ledit.cmxa. See the manual for the difference between cmx...
... If you need lots of random numbers, quickly, perhaps the best thing is to implement something in C, having the C code write a block of random numbers to a...
Thanks. Yes, probably the best thing would be to do it in C and share it between OCaml as float. But on the other hand, why don't wrote the whole thing in...
Micha C
ciebiada@...
Oct 2, 2008 4:41 pm
10216
Bringing my question here. I am about to start development on a gui application in Ocaml. It will not be big, just a couple of toy applications, one being a...
... Indeed. LLVM may well provide a nice escape route here because it allows you to generate high-performance numerical functions using a wide variety of basic...
Jon Harrop
jonathandeanharrop@...
Oct 2, 2008 4:48 pm
10218
... Amen. ... The last time I looked, the native-Mac-GUI-in-OCaml problem had not been solved but several people were trying to solve it. ... Does that not...
Jon Harrop
jonathandeanharrop@...
Oct 2, 2008 5:14 pm
10219
... It would help to know the command line related to this error, and the rules of your makefile responsible of this command. I will try to answer blindly. ...
Florent Monnier
fmonnier@...
Oct 2, 2008 5:27 pm
10220
Use the myocamlbuild.ml file provided at: http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild Then in your _tags file you can just add the...
... Not sure if OCaml has claimed to be the only language in the world. It's known not to be good at handling things like crypto where you absolutely have to...
... There's no good answer to this. There are no good Qt bindings that I'm aware of. You can make it work with Gtk/lablgtk, which (with very recent versions)...
What kind of random numbers do you want? If it is something other than "changing numbers", you might be interested in the GSL library, which is easily and...
JM Nunes
jose.manuel.nunes@...
Oct 2, 2008 8:27 pm
10224
Well, my makefile is just as the blog post describes, which must be wrong. I guess a better way to phrase this question is, what is the correct command to...
... (Sorry I did only read your post) ... what is the error message you encounter with this command ? --...
Florent Monnier
fmonnier@...
Oct 2, 2008 11:08 pm
10226
The error I was getting with that command was: "/usr/local/bin/ocamlc: don't know what to do with +sdl." I figured it might be that sdl is not installed where...
... No, its that you forgot to put -I before the +sdl. -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e...
Jon Harrop
jonathandeanharrop@...
Oct 2, 2008 11:59 pm
10228
Hmm, still doesn't seem to work, maybe I'm not understanding? Here's the new error (keep in mind I changed testsdl_1.ml to main.ml): ocamlc -custom -I...
... Now you're missing bigarray.cma and sdl.cma. ... Try: ocamlc -I +sdl -custom -o main bigarray.cma sdl.cma main.ml -- Dr Jon Harrop, Flying Frog Consultancy...
Jon Harrop
jonathandeanharrop@...
Oct 3, 2008 1:55 am
10230
I think I'm missing a big point here. Why is it necessary to tell ocamlc or ocamlopt that it must link against the bigarray and sdl libraries, but then also...
... For Bigarray you just supply bigarray.cma. For SDL, you supply -I +sdl to tell it where to look and then sdl.cma to load that archive. ... No. ... ...
Jon Harrop
jonathandeanharrop@...
Oct 3, 2008 2:57 am
10232
... Have you tried the native mac port of gtk ? You have two (more ?) available : one for gtk-1.2[1] and one for gtk-2[2]. I've never tried them as I don't use...
Oh, forgot to give the link to objective-c-caml-bridge[1]. That would require you to probably add an abstraction layer to your code to keep it cross-platform...
... The ocamldoc of the SDL bindings tells me this: val set_video_mode : w:int -> h:int -> ?bpp:int -> video_flag list -> surface So if you don't use the...
Florent Monnier
fmonnier@...
Oct 3, 2008 7:44 am
10235
Good Morning Camels! ... Here is a simple tutorial I did (available in French or in English) ...
Florent Monnier
fmonnier@...
Oct 3, 2008 8:02 am
10236
... Here's another approach someone's explored: write the main app in ocaml, and the gui in python, which has far more toolkit bindings. ...
On Fri, 3 Oct 2008 01:08:33 -0700, Martin DeMello wrote ... Or use something like ocsigen and make the GUI a web site. That'll help with the portability, too....
Okay, no mono. Thank you. That saves me from a very great many hours of potentially frustrating research and software installation. On the other hand, I can...