android-stackblur icon indicating copy to clipboard operation
android-stackblur copied to clipboard

error: Non-root compute kernel blur_v() is not supported in SDK levels 11-15 & error: Non-root compute kernel blur_h() is not supported in SDK levels 11-15

Open yangbo637829 opened this issue 11 years ago • 2 comments

when I clean the library using the eclipse ,some errors appear in file blur.rs。 like this: error: Non-root compute kernel blur_v() is not supported in SDK levels 11-15 warning: implicit declaration of function 'rsSetElementAt_uchar4' is invalid in C99 error: Non-root compute kernel blur_h() is not supported in SDK levels 11-15

someone can help me ,thanks very much!

yangbo637829 avatar Jan 23 '15 09:01 yangbo637829

I find the same problem at #16 。

yangbo637829 avatar Jan 23 '15 10:01 yangbo637829

hi @kikoso ,when I repaired the errors according to the #16 ,another error appeared about NoSuchFieldError .then I did some changes on the library: in the RSBlurProcess.java: ScriptC_blur blurScript = new ScriptC_blur(_rs, context.getResources(),R.raw.blur); to ScriptC_blur blurScript = new ScriptC_blur(_rs); then everything is ok.Can you explain the reason? thanks.

yangbo637829 avatar Jan 24 '15 08:01 yangbo637829