I'm updating the Github actions for the rgl package. My old actions were working, but didn't work in Ubuntu 20.x, so I started a new branch a while ago, but got distracted. I'm back to it today, and the new actions have lots of changes. It's working in Ubuntu-latest now, but the Windows build is broken: see Update actions to use Ubuntu 20.04 · dmurdoch/rgl@5d35c4b · GitHub . It appears that it isn't finding FreeType headers:
ext/ftgl/FTGL/ftgl.h:32:10: fatal error: ft2build.h: No such file or directory
32 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
My SystemRequirements field in DESCRIPTION looks like this:
SystemRequirements: OpenGL and GLU Library (Required for
display in R. See "Installing OpenGL support" in README.md.
Not needed if only browser displays using rglwidget() are wanted.),
zlib (optional), libpng (>=1.2.9, optional), FreeType (optional),
pandoc (>=1.14, needed for vignettes)
Does that need to change, or do I need to specifically mention FreeType in the action YAML?
Linux and MacOS are easy, because the configure script works whether it is present or not. Windows is more trouble because it has a hard-coded configuration that requires it.