NDK
icesnowjank
这个作者很懒,什么都没留下…
展开
-
Folly cmake编译错误。
RegularExpression::compile(): Nested *?+.RegularExpression::compile(): Error in compile.CMake Error at CMake/FollyFunctions.cmake:95 (if): if given arguments: "D:/workspace/c++/opensource/folly-v2021.11.01.00/folly/Benchmark.cpp" "MATCHES" "^D:/wo...原创 2021-11-15 15:18:55 · 476 阅读 · 0 评论 -
ndk r16b (clang-5.0.3) -std=c++1z use boost.type_traits.is_function‘s cxx_11.hpp error!
具体报错:boost/type_traits/detail/is_function_cxx_11.hpp:80:11: error: class template partial specialization contains a template parameter that cannot be deduced; this partial specialization will never be used [-Wunusable-partial-specialization] str...原创 2021-03-10 19:58:32 · 204 阅读 · 0 评论 -
C11标准的sscanf_s函数用法
函数原型: intsscanf_s(constchar*restrictbuffer,constchar*restrictformat, ...); 实际调用的时候如果需要解析字符串的话,需要在buffer后面跟上buffer长度而不是在最后跟buffer长度。e.g:if (::sscanf_s(item.asCString(), "%s:" _I64FMT_, bitRate, sizeof(bitRate), &dlTime) == 2) //...原创 2021-02-08 11:29:06 · 962 阅读 · 0 评论 -
ndk-r20b 编译 armv7报错 error:requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
解决方案:./configure --with-pic ...编译过程中添加--with-pic选项就可以了。原创 2020-12-14 15:03:34 · 778 阅读 · 0 评论 -
that c-ares is good and recent enough... no error: c-ares library defective or too old
解决方案:c-ares/lib/pkgconfig/libcares.pc 文件 prefix指向的路径不正确,可能是从别处拷贝或移动过来的,把路径修正一下,问题解决。原创 2020-11-25 10:48:52 · 608 阅读 · 0 评论