Closed josei closed 2 months ago
This error implies that the build of the the notcurses zig bindings (notcurses-zig) is not able to find the brew install of notcurses. notcurses/wrappers.h is not the file that cannot be found. It's notcurses/notcurses.h that is missing.
You need to set --search-prefix
to a directory that contains include/notcurses/notcurses.h
This is usually your brew prefix ($HOMEBREW_PREFIX
). If that variable is not set, check the output of brew config
.
When following the directions for building on macos, it looks like the build process expects to use
notcurses/wrappers.h
, which seems specific to neurocyte/notcurses-zig.My output:
Additionally, I tried running
./zig build -Duse_system_notcurses=true --search-prefix /opt/homebrew/Cellar
with same output.