gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
MaskRay_ has joined #ocaml
Hodapp_ is now known as Hodapp
johnnowak has joined #ocaml
tmaeda is now known as tmaedaZ
BiDOrD_ has joined #ocaml
iago has quit [Quit: Leaving]
BiDOrD has quit [Ping timeout: 252 seconds]
letrec has quit [Ping timeout: 255 seconds]
tufisi has quit [Ping timeout: 246 seconds]
NaCl_ is now known as NaCl
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 244 seconds]
oriba has quit [Quit: oriba]
everyonemines has joined #ocaml
tmaedaZ is now known as tmaeda
Zedrikov has quit [Quit: Bye all, see you next time!]
tmaeda has quit [Quit: Quit Nadoka 0.8.1+git]
mattrepl has joined #ocaml
avsm1 has quit [Quit: Leaving.]
everyonemines has quit [Quit: Leaving.]
mattrepl has quit [Quit: mattrepl]
diego_diego has joined #ocaml
eni has joined #ocaml
eni has quit [Ping timeout: 244 seconds]
diego_diego has quit [Quit: diego_diego]
companio1_square is now known as companion_cube
diego_diego has joined #ocaml
djcoin has joined #ocaml
Cyanure has joined #ocaml
tufisi has joined #ocaml
diego_diego has quit [Quit: diego_diego]
ski has quit [Read error: Operation timed out]
Tobu has quit [Ping timeout: 260 seconds]
ski has joined #ocaml
Tobu has joined #ocaml
ski has quit [Ping timeout: 250 seconds]
ski has joined #ocaml
Cyanure has quit [Remote host closed the connection]
cago has joined #ocaml
mika2 has joined #ocaml
err404 has joined #ocaml
ski has quit [Ping timeout: 250 seconds]
Cyanure has joined #ocaml
ski has joined #ocaml
thomasga has joined #ocaml
ski has quit [Ping timeout: 250 seconds]
ski has joined #ocaml
err404 has quit [Ping timeout: 264 seconds]
err404 has joined #ocaml
roha has joined #ocaml
ski has quit [Ping timeout: 250 seconds]
ski has joined #ocaml
Kakadu has joined #ocaml
GPHemsley has quit [Ping timeout: 276 seconds]
avsm has joined #ocaml
roha has quit [Ping timeout: 252 seconds]
Anarchos has joined #ocaml
roha has joined #ocaml
Anarchos has quit [Ping timeout: 245 seconds]
Anarchos has joined #ocaml
avsm has quit [Quit: Leaving.]
Hussaind has joined #ocaml
Zedrikov has joined #ocaml
GPHemsley has joined #ocaml
GPHemsley has quit [Changing host]
GPHemsley has joined #ocaml
silver has quit [Quit: I put on my robe and wizard hat]
Guest91324 is now known as `micro
avsm has joined #ocaml
hiptobecubic has joined #ocaml
iago has joined #ocaml
MaskRay_ has quit [Ping timeout: 244 seconds]
bkheops has joined #ocaml
MaskRay has joined #ocaml
cyphase has quit [Quit: http://www.cyphase.com/]
avsm has quit [Quit: Leaving.]
iago has quit [Quit: Leaving]
cyphase has joined #ocaml
ski has quit [Ping timeout: 250 seconds]
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
ftrvxmtrx__ has quit [Ping timeout: 246 seconds]
ftrvxmtrx__ has joined #ocaml
_andre has joined #ocaml
johnnowak has left #ocaml []
jlouis_ is now known as jlouis
cyphase has quit [Ping timeout: 272 seconds]
Kakadu has quit [Quit: Page closed]
avsm has quit [Ping timeout: 272 seconds]
avsm has joined #ocaml
cyphase has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
testcocoon has joined #ocaml
bkheops has quit [Ping timeout: 264 seconds]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
hiptobecubic has quit [Ping timeout: 260 seconds]
avsm has quit [Quit: Leaving.]
mononofu_ has joined #ocaml
iago has joined #ocaml
mononofu_ has quit [Remote host closed the connection]
smondet has joined #ocaml
mononofu_ has joined #ocaml
mononofu_ has quit [Read error: Connection reset by peer]
mononofu_ has joined #ocaml
gnuvince has quit [Ping timeout: 249 seconds]
avsm has joined #ocaml
bzzbzz has joined #ocaml
mononofu_ has quit [Remote host closed the connection]
mononofu_ has joined #ocaml
mononofu_ has quit [Remote host closed the connection]
roha has quit [Ping timeout: 265 seconds]
gnuvince has joined #ocaml
mika2 has quit [Quit: Leaving.]
cago has quit [Quit: Leaving.]
Zedrikov has quit [Quit: Bye all, see you next time!]
Tobu has quit [Ping timeout: 260 seconds]
Submarine has quit [Quit: Leaving]
Cyanure has quit [Remote host closed the connection]
letrec has joined #ocaml
bnwr_ has quit [Quit: leaving]
Anarchos has quit [Quit: Page closed]
Tobu has joined #ocaml
Kakadu has joined #ocaml
tufisi has quit [Ping timeout: 260 seconds]
tufisi has joined #ocaml
letrec has quit [Quit: Konversation terminated!]
roha has joined #ocaml
spanner has joined #ocaml
mattrepl has joined #ocaml
mattrepl has quit [Client Quit]
ftrvxmtrx has quit [Quit: Leaving]
mattrepl has joined #ocaml
mononofu has joined #ocaml
probst has joined #ocaml
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
spanner has left #ocaml []
MaskRay has quit [Ping timeout: 272 seconds]
djcoin has quit [Quit: WeeChat 0.3.2]
roha has quit [Ping timeout: 252 seconds]
hiptobecubic has joined #ocaml
Zedrikov has joined #ocaml
err404 has quit [Remote host closed the connection]
probst has quit [Quit: probst]
avsm has quit [Ping timeout: 246 seconds]
Tobu has quit [Ping timeout: 260 seconds]
<flux> hmm, is debian unstable's camlidl package broken, if #require "camlidl" results in Error: The external function `camlidl_com_initialize' is not available?
smerz has joined #ocaml
<pippijn> 8339 pippijn 20 0 1536m 1.4g 11m R 96.4 47.3 4:15.03 mlton-compile
<pippijn> 4 minutes.. still not done
Tobu has joined #ocaml
iago has quit [Ping timeout: 246 seconds]
Zedrikov has quit [Remote host closed the connection]
Kakadu has quit [Quit: Konversation terminated!]
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx__ has quit [Ping timeout: 260 seconds]
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
iago has joined #ocaml
pango has quit [Ping timeout: 260 seconds]
hiptobecubic has quit [Ping timeout: 246 seconds]
pango has joined #ocaml
hiptobecubic has joined #ocaml
mononofu has quit [Remote host closed the connection]
mononofu has joined #ocaml
roha has joined #ocaml
bnwr has joined #ocaml
Hussaind has quit [Quit: Konversation terminated!]
joelr has joined #ocaml
<joelr> good day
<joelr> anyone using latest oasis?
<pippijn> latest?
<joelr> i'm getting this error, don't understand why E: Failure("No one of expected built files '_build/src/libRAPI_stubs.a' exists")
<pippijn> where does it say the version?
<joelr> pippijn: the one that uses OASISFormat: 0.3
<pippijn> ah: Installed: 0.2.0-5
<joelr> in the _oasis file
<pippijn> OASISFormat: 0.2
<pippijn> ok, I guess not
<joelr> 0.3.0~rc3 is what i'm running
<joelr> gildor: ping
<joelr> i'm trying to use a cpp file in CSources and that seems to trip oasis
<pippijn> oh.. cpp?
<joelr> c++
<pippijn> yeah, the one time I tried that didn't work for me, either
<pippijn> with a similar error
<joelr> argh
<pippijn> does ocamlc even compile c++ files?
<joelr> hmm
<joelr> interesting question
<adrien> it's ocamlbuild, not oasis
<joelr> adrien: what about ocamlbuild?
<adrien> hmmm, no, I can't say for sure
<adrien> I had the same issue not long ago
<adrien> ah
<adrien> can we see your _oasis file?
<joelr> sec
<adrien> also, is the casing of the filename correct?
<adrien> about ocamlbuild, I think the error message was ocamlbuild's but I'm not sure
<joelr> adrien: i am using CamelCase for some of the files
<pippijn> E: looks like oasis (or setup.ml)
roha has quit [Ping timeout: 252 seconds]
<joelr> this is the build output
<adrien> I need to recompile some code
<adrien> joelr: where is the .cpp file? inside src/ ?
<joelr> yes, it's inside src
<joelr> and oasis seems to completely ignore it
<joelr> not build it at all
<pippijn> what if you call it .C?
<pippijn> (just guessing and hoping that ocamlbuild ignores case)
<joelr> no cigar with C
<pippijn> ok
<pippijn> it was worth a try
<adrien> joelr: can you try:
<adrien> Path: .
<adrien> and prepend "src/" to all your files?
<joelr> adrien: if i rename .cpp to .c then it builds
<adrien> hmpf
<joelr> i think i
<joelr> i'll have to use .c and then -x c++ in the compile option
<joelr> options
<joelr> e.g. CCOpt: -Wall -W -Wextra -O2 -x c++ -L~/Work/rithmic/5.2.0.0/darwin-10/lib
oriba has joined #ocaml
<joelr> trying that at the moment
<pippijn> oh, that will probably work
<pippijn> but meh
<adrien> I'm pretty sure I've seen stuff using ocamlbuild that makes bindings to C++
<pippijn> maybe with a custom ocamlbuild rule
<pippijn> one that builds %.o from %.cpp
<joelr> adrien: where, where?
err404 has joined #ocaml
<adrien> ocamlbuild really has no .cpp -> .o rule
<adrien> that's really stupid
<adrien> and oasis doesn't make a .clib which includes objects from .cpp files
<adrien> it's hard to believe that is missing
<joelr> ouch
Zedrikov has joined #ocaml
<adrien> you can add it to your myocamlbuild.ml
<adrien> and oasis (at least my version, which is quite old) lets you list .o files in the .clib file
<joelr> right
<adrien> just write it outside of the #OASIS section
<joelr> i solved it with -x c++ and renaming my stubs cpp file to c
<adrien> for the myocamlbuild.ml stuff, you can grab ocaml's sources and copy-paste whatever rule it already has I guess
Submarine has quit [Remote host closed the connection]
<joelr> ok
<joelr> what's CCOpt for linking?
<joelr> in oasis
<_habnabit> what kind of linking
<joelr> e.g. i need -L … here: /usr/local/bin/ocamlmklib -o src/RAPI_stubs -lRApi-optimize -lOmneChannel-optimize -lOmneEngine-optimize -lOmneStreamEngine-optimize -l_api-optimize -l_apipoll-stubs-optimize -l_kit-optimize -lcrypto -lssl src/caml_rapi_stubs.o
<joelr> otherwise it doesn't find my libraries
<joelr> i put it -L … in CCOpt but that's the wrong place
<_habnabit> normally I set LIBRARY_PATH for that
<joelr> CCLib!
<_habnabit> it's a better solution than hardcoding this
<pippijn> _habnabit: hi, can I ask you a question about urwid?
<_habnabit> sure
<pippijn> how does it handle full width characters written in the rightmost column?
<_habnabit> offhand I don't know
<_habnabit> I'd have to write some code to test
<pippijn> is it much effort?
<_habnabit> guess I could test
<pippijn> ncurses handles it poorly
<joelr> yay, it worked!
<_habnabit> joelr, you know about C_INCLUDE_PATH and LIBRARY_PATH, right
<joelr> _habnabit: CCOpt and CCLib, I'm using Oasis
<_habnabit> joelr, these are _environment variables_
<joelr> right, thanks
<pippijn> it writes half a broken utf8 character on the right and another half on the left in the next row
<_habnabit> joelr, presumably not every user is going to have libraries in ~//Work/rithmic/5.2.0.0/darwin-10/lib
<pippijn> actually I'm not sure it's broken utf8, but it's broken anyhow
<joelr> _habnabit: you are absolutely right
<pippijn> ok, it's not utf8
<_habnabit> which is kind of the point of environment variables
dsheets has quit [Read error: Operation timed out]
<joelr> _habnabit: this is a closed-source product, though, that only i am developing. i figure if i hire programmers then we'll put this stuff in /usr/local/ anyway
ftrvxmtrx_ has quit [Ping timeout: 246 seconds]
<joelr> thanks for the suggestion, though
dsheets has joined #ocaml
<_habnabit> yeah I haven't gotten urwid to fuck up with fullwidth characters yet
<_habnabit> it can correctly right-align and center-align text containing them too
<pippijn> _habnabit: so how does it display a full width character in the rightmost column?
<_habnabit> it doesn't allow one to be written there
<pippijn> or is urwid at a higher level?
<pippijn> what happens if you try?
<_habnabit> it gets wrapped to the next line or not displayed, depending on the widget
<_habnabit> urwid is kind of high-level
<pippijn> ok, I see
<pippijn> if I wanted to make a map widget, I would need control over where which character is placed, though
<pippijn> http://paste.xinu.at/eJWj3J/ <- like this
<pippijn> _habnabit: is it possible to make that kind of widget?
<_habnabit> yeah, but I have other things I need to get back to now
<pippijn> ok
<_habnabit> i can post an example later
<pippijn> ok, thanks
ftrvxmtrx_ has joined #ocaml
Zedrikov has quit [Quit: Bye all, see you next time!]
_andre has quit [Quit: leaving]
iago has quit [Ping timeout: 272 seconds]
iago has joined #ocaml
hiptobecubic has quit [Ping timeout: 246 seconds]
joelr has quit [Quit: joelr]
thomasga has quit [Quit: Leaving.]
err404 has quit [Read error: Connection reset by peer]
roha has joined #ocaml
BiDOrD has joined #ocaml
BiDOrD_ has quit [Ping timeout: 276 seconds]
mononofu has quit [Remote host closed the connection]
roha has quit [Ping timeout: 246 seconds]
smondet has quit [Quit: Hunger]
els is now known as fooc
MaskRay has joined #ocaml
MaskRay has quit [Ping timeout: 276 seconds]
MaskRay has joined #ocaml
rgrig has joined #ocaml
testcocoon has quit [Ping timeout: 246 seconds]
testcocoon has joined #ocaml