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

Improve macOS installation #373

Merged
merged 3 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ ENABLE_FORCED([ecasound], [Ecasound soundfile playback/recording],
dnl Checking for libecasoundc. It does not provide pkg-config and installs
dnl on some systems to non-standard path /usr/include/libecasoundc.
AC_MSG_CHECKING([for non-default libecasoundc include directory])
for incdir in /{usr,opt}/{,local/}include/libecasoundc; do
for incdir in {/usr,/usr/local,/opt,/opt/local,${HOMEBREW_PREFIX:-/opt/homebrew}}/include/libecasoundc; do
AS_IF([test -d $incdir], [ECASOUND_INCLUDE="$incdir"])
done
AS_IF([test x$ECASOUND_INCLUDE = x], [AC_MSG_RESULT([none found.])],
Expand Down
8 changes: 7 additions & 1 deletion doc/manual/building-from-source.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ macOS

We recommend installing all dependencies from Homebrew_::

brew install make automake libtool pkg-config help2man fftw asio fmt vrpn freeglut yarn ecasound jack libsndfile websocketpp qt@5 SoundScapeRenderer/ssr/libmysofa llvm
brew install make automake libtool pkg-config help2man fftw asio fmt vrpn freeglut yarn node ecasound jack libsndfile websocketpp qt@5 SoundScapeRenderer/ssr/libmysofa llvm

You might be able to skip installing llvm if you have Xcode installed.

Expand Down Expand Up @@ -238,6 +238,12 @@ can pass its location to the configure script using ::

./configure CPPFLAGS=-Iyourpath

If you are using an ``arm64`` CPU (i.e. M1, M2 or newer) on macOS
(without Rosetta emulation),
you might have to explicitly add some paths
to be able to find the libraries installed with ``brew``::

./configure CPPFLAGS=-I/opt/homebrew/include LDFLAGS=-L/opt/homebrew/lib

Building
--------
Expand Down