I'm trying to install valgrind on my Mac (Sierra). I first followed the instructions here: How to build and install Valgrind on Mac?
This gave an error, so then I tried a Homebrew installation using "brew install valgrind" which gave me errors and lead me to this: Yosemite and Valgrind
I have tried that too, but keep getting the error: "The formula built, but is not symlinked into /usr/local Could not symlink include/valgrind/callgrind.h /usr/local/include/valgrind is not writable." I tried "brew link valgrind" but that gave the same error.
I am just learning how to code so step-by-step help would be greatly appreciated.