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

Dune compilation error "fatal error: CoreFoundation/CoreFoundation.h: No such file or directory" #25634

Open
leana8959 opened this issue Apr 6, 2024 · 0 comments

Comments

@leana8959
Copy link

Dune doesn't install correctly with the error src/fsevents/fsevents_stubs.c:15:10: fatal error: CoreFoundation/CoreFoundation.h: No such file or directory.

This happens with dune 3.6.0 and 3.14.2.

Here's the error log:

# context     2.1.5 | macos/arm64 |  | https://opam.ocaml.org#3ae17654
# path        ~/univ-repos/skeletons/necro/_opam/.opam-switch/build/dune.3.14.2
# command     ~/.opam/opam-init/hooks/sandbox.sh build ocaml boot/bootstrap.ml -j 9
# exit-code   2
# env-file    ~/.opam/log/dune-2492-ab7007.env
# output-file ~/.opam/log/dune-2492-ab7007.out
### output ###
# ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
# ./.duneboot.exe -j 9
# cd _boot && /Users/leana/univ-repos/skeletons/necro/_opam/bin/ocamlopt.opt -c -g -I +threads fsevents_stubs.c
# src/fsevents/fsevents_stubs.c:15:10: fatal error: CoreFoundation/CoreFoundation.h: No such file or directory
# compilation terminated.
#

Specifications

  • Version of dune (output of dune --version): 3.14.2
  • Version of ocaml (output of ocamlc --version): 4.12.1
  • Operating system (distribution and version): Darwin 23.4.0, macOS 14.4.1

Thanks :)

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