0

我正在尝试为我的 .c 和 .h 文件生成依赖关系图,该文件由 c 编程使用 Graphviz 中的 Doxygen 和 .dot 文件编写我有 Graphviz 2.44.1 和 Doxygen 版本 1.8.18
发生此错误,我不知道是什么错了,我使用cmd命令行检查了.dot文件是否正确安装并将其添加到路径变量中,我还在Doxygen中添加了点路径,有帮助吗?注意:我正在使用 Doxywizard

Running dot for graph 31/38
Running dot for graph 32/38
Running dot for graph 33/38
Running dot for graph 34/38
Running dot for graph 35/38
Running dot for graph 36/38
Running dot for graph 37/38
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/interrupts_8c__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/interrupts_8c__incl.pdf"'
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/interrupts_8h__dep__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/interrupts_8h__dep__incl.pdf"'
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/main_8c__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/main_8c__incl.pdf"'
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/interrupts_8h__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/interrupts_8h__incl.pdf"'
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/seven__segments_8h__dep__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/seven__segments_8h__dep__incl.pdf"'
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/seven__segments_8c__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/seven__segments_8c__incl.pdf"'
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/seven__segments_8h__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/seven__segments_8h__incl.pdf"'
error: Problems running dot: exit code=1, command='C:\Program Files\Graphviz 2.44.1\bin\dot', arguments='"C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/std__types_8h__dep__incl.dot" -Tpdf -o "C:/Users/Eng-Nour/Desktop/DOXY TRY/latex/std__types_8h__dep__incl.pdf"'
4

1 回答 1

0

已解决 问题出在 Graphviz 版本中,我使用 Graphviz2.38 而不是 Graphviz 2.44.1 并且它有效:)。

于 2020-10-18T07:45:22.497 回答