google / woff2

MIT License
1.52k stars 188 forks source link

How to I compile Windows x64 binaries either on Windows 10 or Ubuntu WSL2? #150

Open futuremotiondev opened 2 years ago

futuremotiondev commented 2 years ago

I followed the instructions https://github.com/google/woff2 to build static binaries. I used WSL2 Ubuntu. After some fiddling with installing packages I got it to work, but the binaries produced are for Linux/Ubuntu. How can I target Windows? I really want to figure out how to build this for Win.

Can someone lead me to the promised land?

Thanks!

neheb commented 2 years ago

Use MSYS2. Easier than trying to set up MSVC.

lencil commented 2 years ago

https://github.com/lencil/woff2_build

AndiLeni commented 2 years ago

@lencil could you share the steps you did to build for windows?

ebrasha commented 1 year ago

you can download Windows version from here:

https://github.com/ebrasha/abdal-ttf-woff2/releases