XML : Error: Unbound module

I just installed Xmlm by opam install xmlm. And I can see xmlm 1.2.0 in opam list.

In my main.ml, I added

    let id ic oc =      let i = Xmlm.make_input (Channel ic) in    ...    

The compilation returned Error: Unbound module Xmlm.

I also tried to add open Xmlm in main.ml, and -I xmlm in ocamlflags in my makefile, but it did not solve the error.

Could anyone help?

No comments:

Post a Comment