[OT] Anyone familiar with the google tooling - SKIA as a static library (maybe for D) ?

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 28 07:43:10 PST 2016


On Wednesday, 28 December 2016 at 14:23:03 UTC, Basile B wrote:
> I'd like to build SKIA[1] as a static library and interface it 
> with D.
> However it's hard to build, I don't get anything to their build 
> system, you need 'gen' to generate a 'ninja' file so you must 
> build 'gen' but to build 'gen' you must..., wtf is this cluster 
> fuck...
>
> Thanks for your help.
>
> [1]https://skia.org/

I have built it back when it still used gyp.  I believe what you 
need to do is

1. Install depot_tools: 
http://www.chromium.org/developers/how-tos/install-depot-tools

2. Use gclient from depot_tools to get skia: 
https://skia.org/user/download

3. Use gclient to get gn and build skia: 
https://skia.org/user/build

They give you all the steps, but it's confusing if you haven't 
done it before and don't read them carefully.  Just follow their 
exact instructions in those three pages and you should be set up.


More information about the Digitalmars-d mailing list