无法编译 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 (将#修改为@)