Cemu
Cemu copied to clipboard
Build Failing on Arch Derivative CachyOS (vcpkg Install Failure)
Current Behavior
Attempting to build latest Cemu on CachyOS (Arch derivative) is currently failing using current build instructions.
When running:
cmake -S . -B build -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/vcpkg -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=$(which clang) -DCMAKE_CXX_COMPILER=$(which clang++) -G Ninja
Output is:
error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
-- Running vcpkg install - failed
CMake Error at dependencies/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
vcpkg install failed. See logs for more information:
/home/moomew/SC.projects/Cemu/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:36 (project)
-- Configuring incomplete, errors occurred!
Any ideas what could be causing this? All build dependencies are installed and running.
Expected Behavior
Build Cemu
Steps to Reproduce
Attempt to build Cemu following Arch build instructions.
System Info (Optional)
No response
Emulation Settings (Optional)
No response
Logs (Optional)
No response
Missing logs and the rest of the error. See Build guide: Arch Build.
Also try these settings:
git clone --recursive https://github.com/cemu-project/Cemu
cd Cemu
cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G Ninja -DCMAKE_MAKE_PROGRAM=ninja
cmake --build build
For troubleshooting go to Discord: Discord
Missing logs and the rest of the error. See Build guide: Arch Build.
Also try these settings:
git clone --recursive https://github.com/cemu-project/Cemu cd Cemu cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G Ninja -DCMAKE_MAKE_PROGRAM=ninja cmake --build buildFor troubleshooting go to Discord: Discord
Ah, apologies, I'll get the full log tomorrow if these settings don't work. It was late and I didn't have time to make sure the log wouldn't have any personal info in it...
I also failed to see that part of the Arch build guide that talked about common vcpkg problems, that's my bad. I'll see if these settings help tomorrow once I get a chance to get at my Linux machine. Thanks!
Huh, it looks like builds succeed when disabling VCPKG_MANIFEST_INSTALL in CMake's GUI program. Odd.
I was also missing wayland-protocols, installing that plus disabling the aforementioned setting above seems to allow the CMake file to properly generate and vcpkg starts behaving as expected.