Could not build without adding "giflib" to devbox dependencies

Hi. I tried to build joplin on Linux Mint, but I kept getting build errors for canvas@npm:2.11.2. Particularly this error:

In file included from ../src/CanvasPattern.cc:6:
../src/Image.h:18:10: fatal error: gif_lib.h: No such file or directory
   18 | #include <gif_lib.h>
      |          ^~~~~~~~~~~
compilation terminated.

It got fixed after I added giflib@latest to devbox.json. Should I send a PR?

I think a pull request that fixes this would be welcome!

1 Like