From dff782eb0d5c741236c651846a55d34a6f868434 Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Tue, 30 Aug 2022 17:53:32 +0200 Subject: [PATCH] docs: Add warning about clang-14 issue --- BUILD.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 5018af2e..f1ec6f4b 100644 --- a/BUILD.md +++ b/BUILD.md @@ -50,7 +50,8 @@ Additionally, for ubuntu 20.04 only: - If step 3 fails while compiling the boost-build dependency, it means you don't have a working/good standard library installation. Check the integrity of your system headers and making sure that C++ related packages are installed and intact. - If step 3 gives a random error, read the `[package-name-and-platform]-out.log` and `[package-name-and-platform]-err.log` for the actual reason to see if you might be lacking the headers from a dependency. - If step 3 is still failing or if you're not able to find the cause, please make an issue on our Github about it! - - If step 4 gives you a template error (usually will show a very long error message!), you could report it to this repo or try using GCC. + - If step 4 gives you an error that contains something like `main.cpp.o: in function 'std::__cxx11::basic_string...`, you likely are experiencing a clang-14 issue. This can only be fixed by either lowering the clang version or using GCC, see below. + - If step 4 gives you a different error, you could report it to this repo or try using GCC. Just make sure your standard library and compilers are updated since Cemu uses a lot of modern features! #### Using GCC While we use and test Cemu using clang, using GCC might work better with your distro (they should be fairly similar performance/issues wise and should only be considered if compilation is the issue).