Is there a way to install Valgrind on Catalina?

做~自己de王妃 提交于 2019-12-04 11:28:42

问题


Is there a way to install Valgrind on Catalina and have it run properly? If so, I would very much appreciate a step-by-step process.

I tried installing Valgrind with https://github.com/sowson/valgrind but when I tested out helloWorld.cpp on the terminal, the console returned errors I should not have gotten.

I'm not sure if I committed an error on my part in the installation process of this version of Valgrind or if Valgrind itself is simply incompatible with Catalina OS.

I have also tried installing Valgrind via Homebrew, but I've had issues with that as well (github.com/Homebrew/homebrew-core/issues/36683).


回答1:


Currently, no. The repo you link has an issue raised about Catalina compatibility. As you also show, the brew package has its own problems as well. Official valgrind only supports 10.12.

You'll just have to wait, or containerize it. Although if you containerize valgrind, you would likely need a compatible build container as well.



来源:https://stackoverflow.com/questions/58359766/is-there-a-way-to-install-valgrind-on-catalina

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!