Problems generating offline documentation with doxygen, on Windows 10

I’ve been trying to generate offline docs for Juce 5.4.3 on Windows 10, without success.
I’ve tried using make from both GnuWin32 and minGW.
With both, I get the following output in the Command Prompt window:

C:\JUCE\doxygen>make
‘sed’ is not recognized as an internal or external command,
operable program or batch file.
rm -rf build
process_begin: CreateProcess(NULL, rm -rf build, …) failed.
make (e=2): The system cannot find the file specified.
make: *** [build/juce_modules.dox] Error 2

and no documentation is generated.
I use the latest version of Juce, downloaded from GitHub.
What’s up?

‘sed’ is not recognized as an internal or external command, operable program or batch file.

This error tells you that sed is not available in the Command Prompt. sed is a Unix utility, which is not available by default on Windows. You need to use a Unix-like environment, like the shell provided with git or the Windows Subsystem for Linux (WSL).

1 Like

Yes you’re correct. I also had some issues with this. @mazebo Also be aware that the official documentation uses GraphViz for rendering the hierarchy visualizations, so you have to install and configure this too.

Thanks for your advice, McMartin and DustVoice!

I first tried installing and using Git Bash, but soon ran in to problems, so I switched to WSL and Ubuntu for Windows. This worked, but only after installing make, python and doxygen via the Ubuntu Bash shell (using "sudo apt install make, “sudo apt install python” and "“sudo apt-get install doxygen”).