You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm installing a new machine (running Fedora 34) and just did git clone of the repo, ran cmake fine, but make fails with this error:
[ 70%] Building CXX object qt/CMakeFiles/android-file-transfer.dir/main.cpp.o
[ 72%] Building CXX object qt/CMakeFiles/android-file-transfer.dir/mainwindow.cpp.o
In file included from /usr/src/local-builds/android-file-transfer-linux/qt/mainwindow.cpp:28:
/usr/src/local-builds/android-file-transfer-linux/qt/devicesdialog.h:35:13: error: ‘int DevicesDialog::exec()’ marked ‘override’, but does not override
35 | int exec() override;
| ^~~~
make[2]: *** [qt/CMakeFiles/android-file-transfer.dir/build.make:199: qt/CMakeFiles/android-file-transfer.dir/mainwindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:266: qt/CMakeFiles/android-file-transfer.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
On my other laptop (running Fedora 33) everything builds just fine. The main difference I can see: the laptop where it works uses gcc & cpp version 10, whereas the one where it fails is running gcc & cpp v11.
The text was updated successfully, but these errors were encountered:
I'm installing a new machine (running Fedora 34) and just did git clone of the repo, ran cmake fine, but make fails with this error:
[ 70%] Building CXX object qt/CMakeFiles/android-file-transfer.dir/main.cpp.o
[ 72%] Building CXX object qt/CMakeFiles/android-file-transfer.dir/mainwindow.cpp.o
In file included from /usr/src/local-builds/android-file-transfer-linux/qt/mainwindow.cpp:28:
/usr/src/local-builds/android-file-transfer-linux/qt/devicesdialog.h:35:13: error: ‘int DevicesDialog::exec()’ marked ‘override’, but does not override
35 | int exec() override;
| ^~~~
make[2]: *** [qt/CMakeFiles/android-file-transfer.dir/build.make:199: qt/CMakeFiles/android-file-transfer.dir/mainwindow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:266: qt/CMakeFiles/android-file-transfer.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
On my other laptop (running Fedora 33) everything builds just fine. The main difference I can see: the laptop where it works uses gcc & cpp version 10, whereas the one where it fails is running gcc & cpp v11.
The text was updated successfully, but these errors were encountered: