CMake builds do not support format png:gd
Steps to reproduce
Install a CMake build on Windows through e.g. https://www2.graphviz.org/Packages/stable/windows/10/cmake/
Run dot -Tpng:gd
Expected Behaviour
No error.
Actual Behaviour
Format: "png:gd" not recognized. Use one of: png:cairo:cairo png:cairo:gdiplus png:gdipiplus
OS Version
Windows 10
Graphviz Version
Homebuilt from commit 0c58634e
dot - graphviz version 2.45.20200730.1411 (20200730.1411)
Additional info
The problem exists for both 32-bit and 64-bit CMake builds and for both Debug and Release CMake builds, but not for MSbuild builds.
For 32-bit CMake builds the builds log says that CMake has found GD
, but for 64-bit builds it says it hasn't:
-- The following OPTIONAL packages have not been found:
...
* GD
but in neither case is the png:gd
format supported.
This is also a problem for Linux CMake builds.
Edited by Magnus Jacobsson