I just tried to compile the latest Dolphin source on Linux Mint 18.3, and the build failed at 48%:
EDIT: Fixed; didn't realize GCC 5.4 was no longer sufficient. Installed and used GCC 7; this fixed the build.
Code:
[ 48%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/UPnP.cpp.o
[ 48%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/Version.cpp.o
[ 48%] Building CXX object Source/Core/Common/CMakeFiles/common.dir/x64ABI.cpp.o
In file included from /home/alec/Sources/dolphin-emu/Source/Core/Common/x64ABI.cpp:7:0:
/home/alec/Sources/dolphin-emu/Source/Core/Common/x64Emitter.h: In member function ‘constexpr bool Gen::OpArg::operator==(const Gen::OpArg&) const’:
/home/alec/Sources/dolphin-emu/Source/Core/Common/x64Emitter.h:125:3: error: call to non-constexpr function ‘std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {const unsigned char, const short unsigned int, const short unsigned int, const long unsigned int, const short unsigned int}]’
}
^
Source/Core/Common/CMakeFiles/common.dir/build.make:1046: recipe for target 'Source/Core/Common/CMakeFiles/common.dir/x64ABI.cpp.o' failed
make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/x64ABI.cpp.o] Error 1
CMakeFiles/Makefile2:1010: recipe for target 'Source/Core/Common/CMakeFiles/common.dir/all' failed
make[1]: *** [Source/Core/Common/CMakeFiles/common.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
EDIT: Fixed; didn't realize GCC 5.4 was no longer sufficient. Installed and used GCC 7; this fixed the build.
Computer specs in profile