https://blog.youkuaiyun.com/weixin_42330265/article/details/80484978
参考:
https://sourceforge.net/p/libpng/bugs/230/
https://github.com/opencv/opencv/issues/7600
报错:
undefined reference to `png_init_filter_functions_neon'
交叉编译 opencv3.3.1 ffmpeg libpng
修改
${HOME}/opencv-3.3.1/3rdparty/libpng/pngpriv.h
128 /*# if (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \*/
129 # if defined(PNG_ARM_NEON) && (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
---------------------
作者:weixin_42330265
来源:优快云
原文:https://blog.youkuaiyun.com/weixin_42330265/article/details/80484978
版权声明:本文为博主原创文章,转载请附上博文链接!