Dolphin, the GameCube and Wii emulator - Forums
ControllerEmu.h:119:60: error - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: ControllerEmu.h:119:60: error (/Thread-controlleremu-h-119-60-error)



ControllerEmu.h:119:60: error - GenerationI - 10-29-2022

When trying to build the latest version in the git repository on Linux Mint 20.3, the build fails during make -j$(nproc) with the following message:

In file included from /home/me/dolphin-emu/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp:4:
/home/me/dolphin-emu/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h:119:60: error: ‘constexpr bool ControllerEmu::RawValue<T, Bits>::operator==(const ControllerEmu::RawValue<T, Bits>&) const’ cannot be defaulted
 119 |   constexpr bool operator==(const RawValue& other) const = default;
     |                                                            ^~~~~~~

Similar errors follow. I can still build 5.0-16589, but I would like to try a version which has the Tap-less built-in BBA.

My gcc version is: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0. I would apreciate any help, thank you.


RE: ControllerEmu.h:119:60: error - JosJuice - 10-29-2022

I believe you need a newer version of GCC. (Or you can switch to Clang.)


RE: ControllerEmu.h:119:60: error - GenerationI - 10-29-2022

(10-29-2022, 03:43 AM)JosJuice Wrote: I believe you need a newer version of GCC. (Or you can switch to Clang.)

That was the solution! Thank you very much.