Skip to content

Instantly share code, notes, and snippets.

@btbytes
Last active January 17, 2017 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btbytes/286614c346d3d5db8865107b304e8afb to your computer and use it in GitHub Desktop.
Save btbytes/286614c346d3d5db8865107b304e8afb to your computer and use it in GitHub Desktop.
hayots make errors
➜ hayots git:(master) ✗ make
ocaml setup.ml -configure
ocamlfind: Package `lwt.unix' not found
W: Field 'pkg_lwt_unix' is not set: Command ''/Users/pgowda/.opam/4.04.0/bin/ocamlfind' query -format %d lwt.unix > '/var/folders/ps/q8krt8ms2z7g35m1pl_gcqqm0000gn/T/oasis-7bd5e5.txt'' terminated with error code 2
ocamlfind: Package `cmdliner' not found
W: Field 'pkg_cmdliner' is not set: Command ''/Users/pgowda/.opam/4.04.0/bin/ocamlfind' query -format %d cmdliner > '/var/folders/ps/q8krt8ms2z7g35m1pl_gcqqm0000gn/T/oasis-6099bf.txt'' terminated with error code 2
ocamlfind: Package `yojson' not found
W: Field 'pkg_yojson' is not set: Command ''/Users/pgowda/.opam/4.04.0/bin/ocamlfind' query -format %d yojson > '/var/folders/ps/q8krt8ms2z7g35m1pl_gcqqm0000gn/T/oasis-abb8e1.txt'' terminated with error code 2
ocamlfind: Package `lwt.ppx' not found
W: Field 'pkg_lwt_ppx' is not set: Command ''/Users/pgowda/.opam/4.04.0/bin/ocamlfind' query -format %d lwt.ppx > '/var/folders/ps/q8krt8ms2z7g35m1pl_gcqqm0000gn/T/oasis-ef1e40.txt'' terminated with error code 2
ocamlfind: Package `lwt.preemptive' not found
W: Field 'pkg_lwt_preemptive' is not set: Command ''/Users/pgowda/.opam/4.04.0/bin/ocamlfind' query -format %d lwt.preemptive > '/var/folders/ps/q8krt8ms2z7g35m1pl_gcqqm0000gn/T/oasis-ef3d77.txt'' terminated with error code 2
E: Cannot find findlib package cmdliner
E: Cannot find findlib package lwt.ppx
E: Cannot find findlib package lwt.preemptive
E: Cannot find findlib package lwt.unix
E: Cannot find findlib package yojson
E: Failure("5 configuration errors")
make: *** [setup.data] Error 1
ocaml setup.ml -build
Finished, 1 target (0 cached) in 00:00:00.
+ /Users/pgowda/.opam/4.04.0/bin/ocamlfind ocamlc -g -ccopt -g -ccopt -Wall -ccopt -ObjC++ -ccopt '-std=c++14' -ccopt '-stdlib=libc++' -ccopt -fno-omit-frame-pointer -ccopt -fsanitize-undefined-trap-on-error -ccopt -fno-optimize-sibling-calls -ccopt '-fsanitize=address' -thread -package yojson -package threads -package lwt.unix -package lwt.preemptive -package lwt.ppx -package cmdliner -c src/hayots_app_delegate.c
src/hayots_app_delegate.c:14:5: error: use of undeclared identifier 'NSWindowStyleMaskTitled'
NSWindowStyleMaskTitled
^
src/hayots_app_delegate.c:15:7: error: use of undeclared identifier 'NSWindowStyleMaskResizable'
| NSWindowStyleMaskResizable
^
src/hayots_app_delegate.c:16:7: error: use of undeclared identifier 'NSWindowStyleMaskUnifiedTitleAndToolbar'
| NSWindowStyleMaskUnifiedTitleAndToolbar
^
src/hayots_app_delegate.c:17:7: error: use of undeclared identifier 'NSWindowStyleMaskClosable'
| NSWindowStyleMaskClosable
^
src/hayots_app_delegate.c:18:7: error: use of undeclared identifier 'NSWindowStyleMaskMiniaturizable'
| NSWindowStyleMaskMiniaturizable;
^
5 errors generated.
Command exited with code 2.
Compilation unsuccessful after building 13 targets (0 cached) in 00:00:04.
E: Failure("Command ''/Users/pgowda/.opam/4.04.0/bin/ocamlbuild' src/hayots.native -use-ocamlfind -tag debug' terminated with error code 10")
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment