微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法编译 MEGA api

如何解决无法编译 MEGA api

我正在使用 Windows 7 64 位,并尝试使用自动工具使用 MSYS2 编译 MEGA api,但在运行“make”编译后停止显示错误

# make
make  all-recursive
make[1]: Entering directory '/d/sdk-develop'
Making all in include
make[2]: Entering directory '/d/sdk-develop/include'
make[2]: nothing to be done for 'all'.
make[2]: Leaving directory '/d/sdk-develop/include'
make[2]: Entering directory '/d/sdk-develop'
  CXX      examples/megacli-megacli.o
In file included from D:/msys64/mingw64/include/zconf.h:475,from D:/msys64/mingw64/include/zlib.h:34,from ./include/mega/win32/meganet.h:26,from ./include/mega.h:76,from examples/megacli.cpp:22:
./include/mega/win32/megafs.h:170:10: error: 'bool mega::WinFileAccess::ftruncate64()' marked 'override',but does not override
  170 |     bool ftruncate() override;
      |          ^~~~~~~~~
make[2]: *** [Makefile:2742: examples/megacli-megacli.o] Error 1
make[2]: Leaving directory '/d/sdk-develop'
make[1]: *** [Makefile:3294: all-recursive] Error 1
make[1]: Leaving directory '/d/sdk-develop'
make: *** [Makefile:1495: all] Error 2

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。