How to install Valgrind on macOS Mojave(10.14) with Homebrew?

前端 未结 10 1261
梦谈多话
梦谈多话 2020-12-04 08:58

I tried to install Valgrind with brew install Valgrind and got :

valgrind: This formula either does not compile or function as expected
on macOS         


        
10条回答
  •  萌比男神i
    2020-12-04 09:39

    You may use Experimental Version of Valgrind for macOS 10.14.5 Mojave at:

    https://github.com/sowson/valgrind

    The command to use it is:

    brew install --HEAD https://raw.githubusercontent.com/sowson/valgrind/master/valgrind.rb
    

    It is still experimental and needs some work but for simple projects works already... Enjoy!

提交回复
热议问题