有没有办法在Catalina上安装Valgrind? [英] Is there a way to install Valgrind on Catalina?
问题描述
是否可以在Catalina上安装Valgrind并使其正常运行?如果是这样,我将非常感谢逐步的过程.
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.
我尝试使用 https://github.com/sowson/valgrind 安装Valgrind
但是当我在终端上测试helloWorld.cpp
时,控制台返回了我不应该得到的错误.
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.
我不确定在此版本的Valgrind的安装过程中是否犯了我的错误,或者Valgrind本身与Catalina OS不兼容.
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.
我也尝试通过Homebrew安装Valgrind,但与此同时我也遇到了问题(github.com/Homebrew/homebrew-core/issues/36683).
I have also tried installing Valgrind via Homebrew, but I've had issues with that as well (github.com/Homebrew/homebrew-core/issues/36683).
推荐答案
好.我找到了在Catalina上使用Valgrind的方法.这是指向我的指南的链接,该指南的内容是 https://github.com/john-yohan-park/Valgrind_Catalina
Ok. I've found a way to use Valgrind on Catalina. Here's a link to my guide for how https://github.com/john-yohan-park/Valgrind_Catalina
这篇关于有没有办法在Catalina上安装Valgrind?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!