<whale>
how do you open a file in ocaml that imports another file?
<whale>
I get the error: Error: Unbound module Mp4common.Mp4common
onigiri_ has joined #ocaml
<whale>
and I have: open Mp4common.Mp4common
<whale>
at the top of the file
onigiri has quit [Read error: 145 (Connection timed out)]
onigiri_ is now known as onigiri
<hcarty>
whale: Are you working from the toplevel or compiling code?
<hcarty>
Either way, you need to load the appropriate library. From the toplevel you #load the .cmo/.cma.
<hcarty>
Compiling, you need to tell the compiler which library or libraries to link
<whale>
toplevel
<whale>
alright, that works
<whale>
thanks
<hcarty>
You're welcome. Good luck with it.
rcloud has joined #ocaml
silas_ has joined #ocaml
appletizer has quit [hubbard.freenode.net irc.freenode.net]
tarbo2 has quit [hubbard.freenode.net irc.freenode.net]
silas has quit [hubbard.freenode.net irc.freenode.net]
BigJ has quit [hubbard.freenode.net irc.freenode.net]
Ringo47 has quit [hubbard.freenode.net irc.freenode.net]
slash_ has quit [Client Quit]
appletizer has joined #ocaml
tarbo2 has joined #ocaml
silas has joined #ocaml
BigJ has joined #ocaml
Ringo47 has joined #ocaml
julm has joined #ocaml
silas has quit [Connection timed out]
julm_ has joined #ocaml
thrasibule has quit [Read error: 110 (Connection timed out)]
silas_ is now known as silas
silas has left #ocaml []
travisbrady has quit ["Computer has gone to sleep"]
julm_ has quit [Read error: 131 (Connection reset by peer)]
julm has quit [Read error: 60 (Operation timed out)]
appletizer has quit [Read error: 104 (Connection reset by peer)]
julm has joined #ocaml
julm_ has joined #ocaml
jeddhaberstro has quit [Client Quit]
hcarty_phone has joined #ocaml
hcarty_phone has quit [Client Quit]
julm has quit [Read error: 110 (Connection timed out)]
julm_ has quit [Read error: 110 (Connection timed out)]
julm has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
rcloud has quit [Remote closed the connection]
thrasibule has joined #ocaml
sOpen has joined #ocaml
espressox has joined #ocaml
travisbrady has joined #ocaml
espresso has quit [Read error: 110 (Connection timed out)]
espresso has joined #ocaml
thrasibule has quit [Read error: 110 (Connection timed out)]
espressox has quit [Connection timed out]
sOpen has quit [Read error: 110 (Connection timed out)]
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
Ched has joined #ocaml
julm has joined #ocaml
espresso has quit ["Leaving"]
espresso has joined #ocaml
espresso has quit [Client Quit]
espresso has joined #ocaml
espresso has quit [Client Quit]
travisbrady has quit ["Computer has gone to sleep"]
espresso has joined #ocaml
verte has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
julm has joined #ocaml
julm_ has joined #ocaml
ttamttam has joined #ocaml
Alpounet has joined #ocaml
sOpen has joined #ocaml
julm has quit ["bah"]
julm_ has quit ["bah"]
julm has joined #ocaml
smimou has joined #ocaml
svenl has joined #ocaml
_zack has joined #ocaml
dmentre has joined #ocaml
onigiri has quit []
svenl_ has joined #ocaml
svenl has quit [Read error: 110 (Connection timed out)]
th5 has joined #ocaml
Alpounet has quit [Ping timeout: 180 seconds]
rwmjones-afk is now known as rwmjones
julm has quit ["leaving"]
Demitar has quit ["Ex-Chat"]
tmaeda has joined #ocaml
Ched has quit [Read error: 113 (No route to host)]
tmaeda0 has quit [Read error: 110 (Connection timed out)]
Ched has joined #ocaml
Dr_Sunglasses has joined #ocaml
julm has joined #ocaml
myst has joined #ocaml
_zack1 has joined #ocaml
_zack has quit [Read error: 110 (Connection timed out)]
th5 has quit []
<thelema>
It's not a really subtle idea to remove ocamlbuild's dependency on bash in favor of ocaml native routines. Does anyone have a reason (other than work involved) it's not done?
* thelema
is having problems evangelizing ocaml to a windows user
<flux>
I can see that, knowing that windows is sort of a second-class citizen for ocaml
<thelema>
someone has already reimplemented lots of the unix shell apps in ocaml, right? Doesn't that cover the use cases of ocamlbuild?
<flux>
that's a good question, but how much does ocamlbuild even use the shell?
<flux>
I thought it pretty much works in windows, or it's a bug if it doesn't
<flux>
however, how about things like building ocaml itself in windows?
<flux>
I _think_ at present it requires something like cygwin
<flux>
(otoh, maybe it's not as important, in the windows-land binaries are a lot more common than in unix-land)
<thelema>
it needs bash, and I don't want to think of how many hundreds of megabytes of cygwin that is.
th5 has joined #ocaml
<thelema>
s/that is/that involves downloading/
<thelema>
let cmd = "bash -c "^Filename.quote cmd in
<flux>
that comes from?
<thelema>
ocamlbuild/my_std.ml
<flux>
what is the original 'cmd' varibale?
<thelema>
There's a ton of extensions of stdlib here... It's too bad we couldn't have ocamlbuild depend on batteries. :)
<flux>
;)
<Camarade_Tux>
I've nearly built ocamlopt.opt on windows with msys+mingw-w64 (32bit toolchain) last week
<Camarade_Tux>
the only thing is that it tried to find stdlibstdlib.a at the end ><
<Camarade_Tux>
but you definitely need a shell + make unless you go for msvc
Dr_Sunglasses has quit ["leaving"]
<Camarade_Tux>
thelema: cygwin : at least 1GB (most people will have 2-3GB)
<thelema>
My friend does has VS, so msvc is possible.
<thelema>
Camarade_Tux: do you have any suggestions for getting batteries working under win?
<Camarade_Tux>
thelema: not right now, I haven't had time to look at anything, I was homeless and haven't moved in yet (I'm still squatting at a friend)
<thelema>
thanks anyway.
<Camarade_Tux>
I'm moving in today so I should have some time soon however ;)
nnyby has joined #ocaml
jimmyb2187 has left #ocaml []
jimmyb2187 has joined #ocaml
svenl_ is now known as svenl
Amorphous has quit [Read error: 54 (Connection reset by peer)]
<hcarty>
Does anyone here know which of the ocamlnet findlib packages includes Netmime, or where I would look to find out?