小编Jam*_*ie 的帖子

Ubuntu:valgrind:无法启动平台“amd64-linux”的工具“memcheck”:没有这样的文件或目录

我已经安装了 valgrind,没有任何问题,但运行它时,我不断收到以下错误:

valgrind: failed to start tool 'memcheck' for platform 'amd64-linux': No such file or directory
Run Code Online (Sandbox Code Playgroud)

我已经相应地调整了我的 bash 文件。我添加了以下路径:/usr/bin/valgrind来自 using:which valgrind命令,但它仍然不起作用。然后我添加了路径:/usr/lib/valgrind但它仍然不起作用。我想我对使用 Ubuntu 的正确本地目录感到困惑。

我在用:

export VALGRIND_LIB="/usr/lib/valgrind"
Run Code Online (Sandbox Code Playgroud)

我必须先添加本地目录吗?

ubuntu valgrind

6
推荐指数
2
解决办法
2万
查看次数

使用 VScode 设置 Latex:错误 配方因错误而终止。Perl 遇到问题

我已经在 Windows 10 上使用 VScode 和 LaTeX Workshop 扩展设置了 Latex,但是我遇到了一些问题,每次我尝试构建项目时都会出现错误:Recipe 因错误而终止。我在这里关注了很多帖子,但不幸的是没有结果。输出日志如下所示:

Sorry, but latexmk did not succeed for the following reason:

  MiKTeX could not find the script engine 'perl' which is required to execute 'latexmk'.

Remedy:

  Make sure 'perl' is installed on your system.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\Local\MiKTeX\miktex\log\latexmk.log

For more information, visit: https://miktex.org/kb/fix-script-engine-not-found
latexmk: major issue: So far, you have not checked for MiKTeX updates.
Run Code Online (Sandbox Code Playgroud)

我安装了 Perl 并设置了路径,并将建议的日志文件添加到了我的 JSON 文件中,但仍然遇到相同的错误。我的 .json …

perl latex miktex pdflatex visual-studio-code

5
推荐指数
0
解决办法
6561
查看次数

标签 统计

latex ×1

miktex ×1

pdflatex ×1

perl ×1

ubuntu ×1

valgrind ×1

visual-studio-code ×1