# Problems running dot: exit code=-1

**URL:** <https://forum.graphviz.org/t/problems-running-dot-exit-code-1/569>\
**Category:** Help\
**Created:** [March 17, 2021, 11:49am UTC](https://forum.graphviz.org/t/problems-running-dot-exit-code-1/569 "2021-03-17T11:49:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chokkarapu](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@chokkarapu](https://forum.graphviz.org/u/chokkarapu)\
**Post date:** [March 17, 2021, 11:49am UTC](https://forum.graphviz.org/t/problems-running-dot-exit-code-1/569/1 "2021-03-17T11:49:01Z")

</div>

HI All,

My doxygen version is 1.8.13 and graphviz version 2.47.0

When I want to generate class diagram for HTML and RTF format facing issues  
error: Problems running dot: exit code=-1, command=‘dot’ arguements=“MYFILE.dot” -Tpng -O “OUTFILE.png”

Kindly please helpme to resolve this issue.

Thanks,  
Anil.

---

<div class="post-metadata">

**Author:** ![steveroush](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@steveroush](https://forum.graphviz.org/u/steveroush)\
**Post date:** [March 17, 2021, 11:53pm UTC](https://forum.graphviz.org/t/problems-running-dot-exit-code-1/569/2 "2021-03-17T23:53:18Z")

</div>

on the command line type:  
`dot -V`

- If you get a “not found” type error message, Graphviz is not installed or your PATH is wrong
- if you get Graphviz version information, Graphviz is working properly and the problem is probably with doxygen
