1 Star 0 Fork 0

lduml/Android_arcore_hello_c

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

编译信息

版本

Android Studio 3.5.3
Build #AI-191.8026.42.35.6010548, built on November 15, 2019
JRE: 1.8.0_202-release-1483-b49-5587405 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.1

使用

下载自 google ar_core https://github.com/google-ar/arcore-android-sdk

https://developers.google.cn/ar/

说明

下载ndk c语言项目需要 和sample平级的 libraries

这里将libraries文件考到了本项目内

app build.gradle内

externalNativeBuild {
            cmake {
                cppFlags "-std=c++11", "-Wall"
                arguments "-DANDROID_STL=c++_static",
                        "-DARCORE_LIBPATH=${arcore_libpath}/jni",
                        "-DARCORE_INCLUDE=${project.rootDir}/libraries/include",
                        "-DGLM_INCLUDE=${project.rootDir}/libraries/glm"
//                原始 "-DARCORE_INCLUDE=${project.rootDir}/../../libraries/include",
//                原始 "-DGLM_INCLUDE=${project.rootDir}/../../libraries/glm"
            }
        }

空文件

简介

arcore的c语言版本 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lduml/Android_arcore_hello_c.git
git@gitee.com:lduml/Android_arcore_hello_c.git
lduml
Android_arcore_hello_c
Android_arcore_hello_c
master

搜索帮助