Project

General

Profile

Actions

Emulator Issues #12765

closed

Dolphin fails to build on Linux x86_64, depends on std::all_of() which is only implemented in C++11

Added by nkeck72 about 3 years ago. Updated about 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-15617

Description

Dolphin is now failing to build on Linux x86_64, because std::all_of() is not defined in the C++ version used by the Dolphin build system. It may be time to migrate to C++11 or find an alternative for all_of().

Attached are the cmake and make logs for my build attempt. This issue seems to have appeared in commit f4e2d369c0 ("Merge pull request #10270 from Pokechu22/header-order", 2021-12-12), which is when my builds started failing. I track the master branch available on GitHub so the actual issue may have appeared further back in the branch created by that PR.

I'm not immediately sure what I can do to rectify this, otherwise I would have made a pull request. I'm not the most familiar with the emulator source and I don't want to break something from lack of familiarity, but if I find an obvious solution I'll make a PR later. If the issue is because of user error, be sure to let me know :)

I also will post direct terminal dumps if needed, since what I've posted here is just logs captured via redirection (> / 2>).

Thanks in advance.


Files

dolphin-failed-build-cmake.txt (12.4 KB) dolphin-failed-build-cmake.txt cmake log, for reference as to what the build system finds and configures nkeck72, 12/15/2021 05:20 PM
dolphin-failed-build-make-stderr.txt (36.9 KB) dolphin-failed-build-make-stderr.txt make stderr output, build notes, warnings, errors, etc nkeck72, 12/15/2021 05:20 PM
dolphin-failed-build-make.txt (68.1 KB) dolphin-failed-build-make.txt make stdout, progress messages &c nkeck72, 12/15/2021 05:20 PM
Actions

Also available in: Atom PDF