open Base;;
open Batteries;;
let st = String.slice ~first:(1) ~last:(3) "ABCD";;
print_string st;;
...
My file dune :
(executable
(name prog)
(libraries /Users/xt/.opam/system/lib/Base /Users/xt/.opam/system/lib/Batteries) )
When I try: "dune build prog.exe"
returns "Error: Library ... not found."
How to build the "dune" file to compile and create executable?