我无法通过Meson的配置运行Doxygen。
这是meson.build
中相关的代码:
doxygen = find_program('doxygen')
...
run_target('docs', command : 'doxygen ' + meson.source_root() + '/Doxyfile')
可成功找到doxygen可执行文件:
发现doxygen程序:YES(/usr/bin/doxygen)
然而,当我启动它时,出现以下错误信息:
[0/1] 运行外部命令docs。
无法执行命令“doxygen /home/project/Doxyfile”。文件未找到。
FAILED: meson-docs
但是,手动从命令行运行它可以正常工作:
/usr/bin/doxygen /home/project/Doxyfile
doxygen /home/project/Doxyfile
我的meson.build配置有什么问题?
无法执行命令"where doxygen"。文件未找到。
失败:meson-docs
- Pietrowhere doxygen
,我会得到:where: command not found
。 - PietroCould not execute command "ls -ls ". File not found.
- Pietro