I am trying to run the doxygen
command (I'm using Windows 10 with Cygwin and the packages Doxygen, Graphviz and the g++ compiler installed with it) and, at the end of the execution, I get the following error:
Error: Could not open "/cygdrive/c/Users/alexl/Desktop/src/DOC/html/graph_legend.png" for writing: Permission denied
error: Problems running dot: exit code=1, command='dot', arguments='"/cygdrive/c/Users/alexl/Desktop/src/DOC/html/graph_legend.png" -Tpng -o "/cygdrive/c/Users/alexl/Desktop/src/DOC/html/graph_legend.png"'
I also get sixteen other warnings with the following structure:
Warning: Cannot open file <filename>.png for writing
I've been searching for hours why this may occurr. I've tried running command prompt as an administrator, but the error still persists. Any help would be greatly appreciated.