Skip to content

Commit f61539a

Browse files
authored
Update build instructions for fedora and add troubleshooting step for alternative architectures (cemu-project#1468)
1 parent 92021db commit f61539a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

BUILD.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ At Step 3 in [Build Cemu using cmake and clang](#build-cemu-using-cmake-and-clan
5757
`cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang-15 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-15 -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja`
5858

5959
#### For Fedora and derivatives:
60-
`sudo dnf install bluez-libs clang cmake cubeb-devel freeglut-devel git glm-devel gtk3-devel kernel-headers libgcrypt-devel libsecret-devel libtool libusb1-devel llvm nasm ninja-build perl-core systemd-devel zlib-devel zlib-static`
60+
`sudo dnf install bluez-libs-devel clang cmake cubeb-devel freeglut-devel git glm-devel gtk3-devel kernel-headers libgcrypt-devel libsecret-devel libtool libusb1-devel llvm nasm ninja-build perl-core systemd-devel wayland-protocols-devel zlib-devel zlib-static`
6161

6262
### Build Cemu
6363

@@ -120,6 +120,9 @@ This section refers to running `cmake -S...` (truncated).
120120
* Compiling failed during rebuild after `git pull` with an error that mentions RPATH
121121
* Add the following and try running the command again:
122122
* `-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON`
123+
* Environment variable `VCPKG_FORCE_SYSTEM_BINARIES` must be set.
124+
* Execute the folowing and then try running the command again:
125+
* `export VCPKG_FORCE_SYSTEM_BINARIES=1`
123126
* If you are getting 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.
124127

125128

0 commit comments

Comments
 (0)