Skip to content

library name with dune #21

Open
Open
@ghilesZ

Description

@ghilesZ

I tried to compile a small example using dune and weirdly, adding (libraries ocamlsdl2) to my stanza produces the error:

Error: Library "ocamlsdl2" not found.
Hint: try:
  dune external-lib-deps --missing a.exe

Eventhough it is installed, as shown from the command:

$ opam list | grep ocamlsdl
ocamlsdl                0.9.1       Interface between OCaml and SDL
ocamlsdl2               0.04        Interface to the SDL2 library

However, putting (libraries sdl2) in my dune file works fine. Is this a normal documented behaviour? Is this a bug of dune? Or a bug of OCamlSDL2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions