Andriod NDK assets的三个相关知识
摘要:如何获取assetManager engine->app->activity->assetManager Asset文件应该放在哪个目录? 如何生成tga文件: 可以用这个网站:https://image.online-convert.com/convert-to-tga 另外应该还有其他很多类似的工具,可以搜一下。
阅读全文
posted @
2017-12-20 22:58
今夜太冷
阅读(391)
推荐(0) 编辑
Andriod NDK编译的时候无法使用math.h的函数。
摘要:编译NDK项目的时候,当用到sinf的时候,编译报错: 选中sinf函数,右键Go to declaration, 发现math.h的文件路径是: c:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r13b\platforms\android-21\arch-arm64\usr\include\math.h 试了很多种方法,包括在library...
阅读全文
posted @
2017-08-27 18:11
今夜太冷
阅读(1378)
推荐(0) 编辑
clang: error: linker command failed with exit code 1 (use -v to see invocation)
摘要:错误: clang: error: linker command failed with exit code 1 (use -v to see invocation) 的排查总结 1.相同的类被导入多次。 2.图片等资源丢失/引用出错(包括build phases的引用)。 3.Build Setting ->armv7armv7s 由于xcode升级成...
阅读全文
posted @
2017-07-15 19:44
今夜太冷
阅读(4600)
推荐(0) 编辑