MNN 编译不过问题

/Users/Alan/work/VideoAudio/FaceDetect/MNN-master/3rd_party/flatbuffers/src/idl_gen_cpp.cpp:77:3: error: constructor for ‘flatbuffers::cpp::CppGenerator’ must explicitly
initialize the const member ‘float_const_gen_’
CppGenerator(const Parser &parser, const std::string &path,
^
/Users/Alan/work/VideoAudio/FaceDetect/MNN-master/3rd_party/flatbuffers/src/idl_gen_cpp.cpp:2788:35: note: ‘float_const_gen_’ declared here
const CppFloatConstantGenerator float_const_gen_;
^
1 error generated.
make[3]: *** [CMakeFiles/flatc.dir/src/idl_gen_cpp.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs…
make[2]: *** [CMakeFiles/flatc.dir/all] Error 2
make[1]: *** [CMakeFiles/flatc.dir/rule] Error 2
make: *** [flatc] Error 2
xargs: …/…/3rd_party/flatbuffers/tmp/flatc: No such file or directory
./generate_schema.sh: line 39: …/…/3rd_party/flatbuffers/tmp/flatc: No such file or directory
===> Done!

在使用 MNN 移动端深度神经网络推理引擎时,按文档编译,出现以上错误。参考

将 MNN/3rd_party/flatbuffers 换成最新的即可 下载地址
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值