解決doxygen繪製函式呼叫失敗問題
問題描述:
error: Could not open image `D:/澶囦喚/Desktop/鑲栦匠/work/doxygen/html/graph_legend.png' generated by dot!
error: Could not open image `D:/澶囦喚/Desktop/鑲栦匠/work/doxygen/html/test_8c_ac580407ae4554398ddb2a1bcf7ce8f2f_icgraph.png' generated by dot!
error: Could not open image `D:/澶囦喚/Desktop/鑲栦匠/work/doxygen/html/main_8c_a7c09cb6ca5816151337024dbcbb93355_cgraph.png' generated by dot!
error: problems opening map file D:/澶囦喚/Desktop/鑲栦匠/work/doxygen/html/main_8c_a7c09cb6ca5816151337024dbcbb93355_cgraph.map for inclusion in the docs!
If you installed Graphviz/dot after a previous failing run,
try deleting the output directory and rerun doxygen.
error: problems opening map file D:/澶囦喚/Desktop/鑲栦匠/work/doxygen/html/test_8c_ac580407ae4554398ddb2a1bcf7ce8f2f_icgraph.map for inclusion in the docs!
If you installed Graphviz/dot after a previous failing run,
try deleting the output directory and rerun doxygen.
*** Doxygen has finished
解決過程:
根據錯誤提示,配置好graphviz路徑後,刪除輸出路徑下的所有檔案,重新run. 問題未解決。
上度娘查詢,沒有該問題描述。
上google查詢,有該問題描述,無解決方案。
再次確認dot配置細節
最後嘗試將工作區移動到無中文的路徑下,問題解決。
解決措施:
輸出路徑不能包含中文目錄。