1 下好了GitHub repo的taichi代码(但没有build,因为好像没法在windows下build?),
2 设置了环境变量TAICHI_REPO_DIR,指向了下载好了的taichi repo, ANDROID_SDK_ROOT已经是设置好了的。
3 把从知乎上(「v1.0.0」用 Taichi AOT 方案将特效部署到移动端 - 知乎) 下载好的libtaichi_export_core.so 拷贝到了隐式fem项目里面的 app/src/main/jniLibs/arm64-v8a/
4 小黑框cd到taichi-aot-demo\implicit_fem,运行gradlew.bat assembleDebug,报:
error: no member named ‘window_handle’ in ‘taichi::lang::SurfaceConfig’
error: non-const lvalue reference to type ‘taichi::lang::LaunchContextBuilder’ cannot bind to a temporary of type ‘taichi::lang::RuntimeContext *’
error: no member named ‘set_arg_ndarray’ in ‘taichi::lang::RuntimeContext’
…
等等很多错误,是版本不对吗?谢谢!