Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failing on Arch Derivative CachyOS (vcpkg Install Failure) #1142

Open
MooMew64 opened this issue Mar 28, 2024 · 3 comments
Open

Build Failing on Arch Derivative CachyOS (vcpkg Install Failure) #1142

MooMew64 opened this issue Mar 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@MooMew64
Copy link

MooMew64 commented Mar 28, 2024

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

@MooMew64 MooMew64 added the bug Something isn't working label Mar 28, 2024
@qurious-pixel
Copy link
Contributor

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

@MooMew64
Copy link
Author

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

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!

@MooMew64
Copy link
Author

MooMew64 commented Mar 31, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants