GrAtlasGlyphCache::GrAtlasGlyphCache(GrContext*, float): error: undefined reference to 'log2'
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
https://skia.googlesource.com/skia/+/6382f455f0bb447debc670c10360d7aed970b728 should fix this. Thanks for the heads up!
On Fri, Aug 11, 2017 at 12:08 PM, Brian Osman <brian...@google.com> wrote:
That looks like an oversight. We have a version of log2 that does work on Android (using log and multiply). I'll fix that code.
On Fri, Aug 11, 2017 at 11:48 AM, Matthew Leibowitz <mattl...@live.com> wrote:
I am building a static version of skia for Android.It appears that in this commit (https://github.com/google/skia/commit/6d342285a4546b54cb17570aae7eeb8a123c81ae#diff-1b37363474d7e879bcb2a2b7b2bdda5eR42), a reference to the log2 function was used. This is fine for when building against the 18+ API, but for previous versions, I get a linker error:GrAtlasGlyphCache::GrAtlasGlyphCache(GrContext*, float): error: undefined reference to 'log2'As this library needs to be able to run on at least Android 4.0.3 (API 15), should I be doing something, or are older version of Android not supported anymore? Or, can I build for 18, but still run on older Android versions?
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.