Reputation: 69
I am trying to build the SKIA library with Linux:
https://code.google.com/p/skia/
I have successfully run ./gyp_skia
followed by the make
command.
You often run make install
after make
. However, the SKIA library does not seem to have a make install
option. I'm wondering how to perform the install?
Upvotes: 0
Views: 3913
Reputation: 626
This worked for me at least.
[ -d depot_tools ] || git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
[ -d skia ] || git clone https://skia.googlesource.com/skia.git
export PATH="${PWD}/depot_tools:${PATH}"
cd skia
python tools/git-sync-deps
gn gen out/Release --args="is_official_build=true skia_use_system_expat=false skia_use_system_icu=false skia_use_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_libwebp=false extra_cflags_cc=[\"-frtti\"]"
ninja -C out/Release skia
Upvotes: 1
Reputation: 26
I just started exploring SKIA this week (on OSX), so I understand the learning curve.
The tools build static libraries, not shared libraries, thus it is not something that is "installed", at least not to end user machines. The provided tools build the libraries (.a) not (.so). The tool also build the unit tests and "SampleApp"
I found the following link helpful as well:
Want to learn graphics using Skia on Ubuntu
Good luck
Upvotes: 1