Thanks for pointing that out. I was asking earlier if anybody knew about alternatives to libdai. I have a bit of a problem using this library since I must go through some language boundary eventually, whether that means translating my data into some intermediate format or going through some wrapper generator. I usually never have this much of an issue with something, its just been errpr and hangup after hang up with this library and swig. Now that I recall, I haven't ever had a pleasant experience with swig if I had to work with it. Ill see if I can't create some even smaller reproducible instance that is really really minimal - no opam, no oasis, no libdai or anything. Just a folder with a dockerfile, makefile, swig interface, c header and example ml that reproduces my issue. On Sep 12, 2017 8:14 PM, "Leonid Rozenberg" wrote: > Hello Kenneth, > > I'm sorry to hear that you're having all these problems wrapping libdai. > I unfortunately can't help you as at this point it seems like you're > dealing with issues > above my understanding. Though, I'm curious as to what you're implementing > with libdai and if you considered http://libra.cs.uoregon.edu/ as an > alternative. > I haven't used either, but I've rolled my own HMM's for some bioinformatics > projects. > > Best, > Leonid > > On Tue, Sep 12, 2017 at 6:26 PM, Kenneth Adam Miller < > kennethadammiller@gmail.com> wrote: > >> Perhaps I'm not using the SWIG api right, but for conciseness and for the >> ability to update my question, please read here: >> >> https://stackoverflow.com/questions/46166269/how-do-i-identi >> fy-the-correct-type-parameter-with-swig-ocaml >> >> >> Does anybody know of an existing ocaml project that uses swig? Because I >> badly need to get past these problems with SWIG. >> > >