karryall_ has joined #ocaml
karryall has quit [Read error: 54 (Connection reset by peer)]
jewel has joined #ocaml
Sonarman_ has joined #ocaml
Sonarman has quit [Read error: 60 (Operation timed out)]
Smerdyakov has joined #ocaml
Sonarman_ has quit [Read error: 60 (Operation timed out)]
ploot has joined #ocaml
ploot has left #ocaml []
ulfdoz has joined #ocaml
ulfdoz_ has quit [Read error: 145 (Connection timed out)]
Herrchen_ has joined #ocaml
Herrchen has quit [Read error: 110 (Connection timed out)]
mlh_ has quit [Client Quit]
Sonarman has joined #ocaml
vezenchio has joined #ocaml
Smerdyakov has quit [brown.freenode.net irc.freenode.net]
rossberg has quit [brown.freenode.net irc.freenode.net]
haakonn has quit [brown.freenode.net irc.freenode.net]
Demitar has quit [brown.freenode.net irc.freenode.net]
mattam has quit [brown.freenode.net irc.freenode.net]
shrimpx has quit [brown.freenode.net irc.freenode.net]
calvin_ has quit [brown.freenode.net irc.freenode.net]
karryall_ has quit [brown.freenode.net irc.freenode.net]
TeXitoi has quit [brown.freenode.net irc.freenode.net]
Smerdyakov has joined #ocaml
karryall_ has joined #ocaml
TeXitoi has joined #ocaml
rossberg has joined #ocaml
haakonn has joined #ocaml
Demitar has joined #ocaml
mattam has joined #ocaml
shrimpx has joined #ocaml
calvin_ has joined #ocaml
Herrchen_ is now known as Herrchen
shammah has joined #ocaml
Smerdyakov has quit ["i sleep"]
karryall_ has quit ["."]
Demitar has quit [Read error: 110 (Connection timed out)]
pango has quit [Remote closed the connection]
Snark has joined #ocaml
shawn_ has joined #ocaml
_shawn has quit [Read error: 110 (Connection timed out)]
vodka-goo has joined #ocaml
vodka-goo has quit [Client Quit]
vodka-goo has joined #ocaml
chantry has joined #ocaml
mrvn has joined #ocaml
__DL__ has joined #ocaml
_shawn has joined #ocaml
jewel has quit [Success]
jewel has joined #ocaml
vodka-goo has quit []
jewel has quit [Connection reset by peer]
shawn_ has quit [Read error: 110 (Connection timed out)]
mrvn_ has quit [Connection timed out]
shawn_ has joined #ocaml
jewel has joined #ocaml
_shawn has quit [Read error: 110 (Connection timed out)]
_shawn has joined #ocaml
mrvn_ has joined #ocaml
shawn_ has quit [Read error: 110 (Connection timed out)]
mrvn has quit [Read error: 60 (Operation timed out)]
<
chantry>
so I linked graphics.cma, but I still can't use open_graph
<
chantry>
$ ocamlc graphics.cma test.ml
<
chantry>
File "test.ml", line 1, characters 0-10:
<
chantry>
Unbound value open_graph
araujo has quit ["Programs must be written for people to read, and only incidentally for machines to execute"]
<
mflux_>
try this: ocaml graphics.cma
<
mflux_>
and then Graphics.open_graph
<
mflux_>
and then ;;
<
mflux_>
or just add open Graphics to the top of test.ml
<
chantry>
thanks, it seems to be better. But I already have another problem :)
<
chantry>
$ ocamlc test.ml
<
chantry>
Error while linking test.cmo:
<
chantry>
The external function `caml_gr_lineto' is not available
<
mflux_>
ocamlc -o test graphics.cma test.ml ?
<
chantry>
ho I see, I need the both things. open Graphics at top of the source, and graphics.cma when compiling
<
mflux_>
writing a makefile (or grabbing a ready-made customizeable one) can be beneficial
<
mflux_>
well, not much use when all you have is one source file though ;)
<
chantry>
it seems a bit overkill for what I'm doing, yep
<
chantry>
one source file of 10 lines :p
jewel has quit [Read error: 110 (Connection timed out)]
claque2000 has joined #ocaml
claque2000 has quit ["leaving"]
vodka-goo has joined #ocaml
gim has quit [Connection timed out]
cmeme has quit [Remote closed the connection]
Gueben has joined #ocaml
vodka-goo has quit []
bigbabyjesusfoo has joined #ocaml
pango has joined #ocaml
_JusSx_ has joined #ocaml
vodka-goo has joined #ocaml
vodka-goo has quit [Client Quit]
vodka-goo has joined #ocaml
pango has quit ["Leaving"]
araujo has joined #ocaml
pango has joined #ocaml
vezenchio has quit ["Ayn Rand encapsulates the rage that every teenager feels on finding that his first paycheque has had taxes taken out of it"]
cmeme has joined #ocaml
cmeme has quit [Remote closed the connection]
cmeme has joined #ocaml
chantry has quit [Read error: 60 (Operation timed out)]
chantry has joined #ocaml
chantry has quit [Read error: 60 (Operation timed out)]
monochrom has joined #ocaml
grirgz has joined #ocaml
<
grirgz>
how can i set a non-blocking mode with Unix.open_connection ?
chantry has joined #ocaml
chantry has quit ["Leaving"]
<
grirgz>
is there a mean to use fcntl in ocaml ?
<
grirgz>
oh, i found it, Unix.set_nonblock \o/
Snark has left #ocaml []
Gueben has quit ["plouf"]
_JusSx_ has quit [Client Quit]
gim has joined #ocaml
__DL__ has quit [Read error: 104 (Connection reset by peer)]
gim has quit ["twm sucks"]
pango is now known as pangoafk
vodka-goo has quit []
mlh_ has joined #ocaml