Trying to load 3DLUT script and java code from google, but the build failed with compiler generated file ScriptC_colorcube.java.
Note I've changed int4
to uint4
in line 60 through 66. Following is the error I recived while building it. The problematic line is at the firstline.
error: cannot find symbol method getPointerSize()
Generated code
public void invoke_setCube(Allocation c) {
FieldPacker setCube_fp = new FieldPacker((RenderScript.getPointerSize() == 8) ? 32 : 4);
setCube_fp.addObj(c);
invoke(mExportFuncIdx_setCube, setCube_fp);
}