Skip to content

Commit

Permalink
Add MacOS build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
shriramters committed Jun 23, 2024
1 parent e209f47 commit d04945a
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion content/docs/building-from-source.org
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,33 @@ make -j$(nproc)
#+end_example

* MacOS
WIP
*NOTE:* /This has been tested with arm64 macs only. There might be some
linking issues with fluidsynth when used with Intel macs./

You can install git and clang++ (which will be symlinked to ~/usr/bin/gcc~
lol) with:
#+begin_example zsh
xcode-select --install
#+end_example

You will also need to install [[https://brew.sh/][Homebrew]] in order to download dependencies.
Check their official page for instructions on how to install brew.

You can then download chordcat's dependencies with:
#+begin_example zsh
brew install cmake \
sfml \
fluid-synth \
boost
#+end_example

Build and run chordcat with:
#+begin_example zsh
mkdir build && cd build
cmake ..
make -j$(nrpoc)
./chordcat
#+end_example

* Windows
It is recommended that MSYS2 be used for building chordcat on Windows
Expand Down

0 comments on commit d04945a

Please sign in to comment.