Release build of Slicer fails with error on sphinx-build

Hello Team,

Kindly wanted to know how to fix the error based on below message:

CUSTOMBUILD : warning : sphinx-build not found: Python documentation will not be created

I am trying to build in release mode. The issue occurs when ALL_BUILD is performed from visual studio.

Regards,
Darshan

I believe this is just a warning you can ignore. Or maybe you can just install the package and it will build the documentation.

Hello Steve Sir,

Thank you. Kindly wanted to know if there is a way to turn off this build in the CMake file or some place so that it does not try and build this ?

Regards,
Darshan

You’d need to look in the source code for a way to turn this off, but you shouldn’t need to. You should just ignore this if you don’t need to build the documentation.

Hello Steve Sir,

Thank you, but the build does not proceed to create the slicer exe. It simply fails at this step and gives below error:

Regards,
Darshan

Probably there is something else going wrong with the build. Look higher up in the logs to see what is going on. Maybe someone who routinely builds on Windows can offer suggestions.