DarknetDemoInAndroid icon indicating copy to clipboard operation
DarknetDemoInAndroid copied to clipboard

能不能把NDK的版本信息带上,用新版的NDK总是编辑不过去

Open jiashilei-1985 opened this issue 6 years ago • 3 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

jiashilei-1985 avatar Nov 20 '18 01:11 jiashilei-1985

都是纯C代码 应该和 NDK版本没啥关系吧?

chentyjpm avatar Nov 28 '18 08:11 chentyjpm

需要用r16及之前的ndk版本,r18默认不能指定arguments "-DANDROID_TOOLCHAIN=gcc",注释掉这行虽然能编译过也能跑起来,但是耗时变成21s,而且满屏都是探测出来的object。 目测是因为r18自动使用了clang编译,一些特性导致yolo不能正常工作。 看了下yolo官网编译方式用的gcc,不能用clang编译这个挺蛋疼的,因为我个人项目里面合作方用的r18,所以我也必须用r18,好纠结。 希望能有进一步更新。

jayzhou215 avatar Feb 27 '19 12:02 jayzhou215

你可以用R16 编译个so扔过去

chentyjpm avatar Mar 05 '19 01:03 chentyjpm