From c3d6cad428f1d80c31e0abc5453b27d699a669ca Mon Sep 17 00:00:00 2001 From: Ktoks <36412717+Ktoks@users.noreply.github.com> Date: Tue, 8 Nov 2022 20:22:09 -0700 Subject: [PATCH] Added a note on re-building to fix RPATH issues. (#352) Co-authored-by: Exzap <13877693+Exzap@users.noreply.github.com> --- BUILD.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index d55c0ef6..18fd18f1 100644 --- a/BUILD.md +++ b/BUILD.md @@ -57,7 +57,8 @@ You can use it by replacing the step 3 with the following: - 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 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! -- If step 4 gives you undefined libdecor_xx, you are likely experiencing an issue with sdl2 package that comes with vcpkg. Delete sdl2 from vcpkg.json in source file and recompile. + - If step 4 gives you undefined libdecor_xx, you are likely experiencing an issue with sdl2 package that comes with vcpkg. Delete sdl2 from vcpkg.json in source file and recompile. + - If step 3 fails during rebuild after `git pull` with an error that mentions RPATH, add this to the end of step 3: `-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON` ## macOS