Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The example doesn’t compile #18

Closed
argent-smith opened this issue Dec 5, 2016 · 1 comment
Closed

The example doesn’t compile #18

argent-smith opened this issue Dec 5, 2016 · 1 comment

Comments

@argent-smith
Copy link

Hello,

I’ve got this output when compiling:

➜  slackbot git:(master) ✗ make
ocaml setup.ml -build
Finished, 0 targets (0 cached) in 00:00:00.
+ /Users/paul/.opam/system/bin/ocamlfind ocamlopt -g -safe-string -linkpkg -package cmdliner -package fmt -package logs src/main.cmx -o src/main.native
File "_none_", line 1:
Error: No implementations provided for the following modules:
         Fmt_cli referenced from src/main.cmx
         Logs_fmt referenced from src/main.cmx
         Fmt_tty referenced from src/main.cmx
         Logs_cli referenced from src/main.cmx
Command exited with code 2.
Compilation unsuccessful after building 4 targets (0 cached) in 00:00:00.
E: Failure("Command ''/Users/paul/.opam/system/bin/ocamlbuild' src/main.native -tag debug' terminated with error code 10")
make: *** [build] Error 1

Here’s my _oasis and the source: https://gist.github.com/argent-smith/f212557f937d85a858388f17d75ea119

How to fix this?

@argent-smith
Copy link
Author

argent-smith commented Dec 5, 2016

Sorted that out: should add packages such as fmt.tty, etc. to my _oasis. Excuse my ignorance. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant