mgieseki / dvisvgm

A fast DVI, EPS, and PDF to SVG converter
https://dvisvgm.de
GNU General Public License v3.0
295 stars 28 forks source link

Cannot build v3.0 with bundled woff2 #205

Closed stertooy closed 1 year ago

stertooy commented 1 year ago

When building dvisvgm-3.0 with the --enable-bundled-libs flag and no other version of woff2 installed, I get the following error:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libs/boost -I../../libs/variant/include -g -O2 -Wno-mismatched-tags -MT TTFWriter.lo -MD -MP -MF .deps/TTFWriter.Tpo -c TTFWriter.cpp  -fPIC -DPIC -o .libs/TTFWriter.o
TTFWriter.cpp:26:10: fatal error: woff2/encode.h: No such file or directory
   26 | #include <woff2/encode.h>
      |          ^~~~~~~~~~~~~~~~
mgieseki commented 1 year ago

Thanks for reporting the bug. I've fixed it locally and will push the patch shortly.