Is there any reason you're still on Mint 19.3? Updating to 20 or 21 would really solve this problem.
For Ubuntu 18 and Mint 19
Follow these steps to update your cmake. Dolphin needs 3.13 or greater, and the version that ships is only 3.10:
https://askubuntu.com/a/1157132
Using the same steps as above, install gcc and g++ 11
Happily I already had GCC 11 installed so that was an easy fix. Thank you!
Just in case I also installed clang, maybe next time I'll try compiling with it.
Yes, I will look into moving to the next Linux Mint LTS.
I have mostly stuck to 19.3 since it still supports some legacy 32-bit apps.
Sorry, it looks like Linux Mint compile is broken again?
/dolphin-emu/Source/Core/Common/GL/GLInterface/EGL.h:6:10: fatal error: EGL/egl.h: No such file or directory
6 | #include <EGL/egl.h>
| ^~~~~~~~~~~
compilation terminated.
Nevermind.
I cleared out my build folder, pulled the latest Git sources and rebuilt and everything worked as expected.
Are you still on Mint 19, or did you upgrade?
edit: should have refreshed my page first, but my instructions still hold for anyone else
Things to try:
In the main dolphin-emu folder, run the following:
Code:
git pull origin && git submodule update --init --recursive
Then `cd` into your build folder and delete all the files, and try to run `cmake ..` again, then rerun `make`