Basic Ocaml ffi with c library =============================== In the previous article I just showed the most basic and simple way to call C from Ocaml. Read more about here [./basic-ocaml-ffi_20240828121852.html](./basic-ocaml-ffi_20240828121852.html). So this is another basic example that shows how to call into a C function from Ocaml. This time the C function exists in its own library source file inclusive a header file. The base and starting point for this article is again an article on StackOverflow.com under [https://stackoverflow.com/questions/57029419/unresolved-external-function-while-linking-ocaml-and-c](https://stackoverflow.com/questions/57029419/unresolved-external-function-while-linking-ocaml-and-c)