Package Details: cemu-git 2.5.r0.gdd0af0a5-1

Git Clone URL: https://aur.archlinux.org/cemu-git.git (read-only, click to copy)
Package Base: cemu-git
Description: Nintendo Wii U emulator
Upstream URL: https://cemu.info/
Keywords: console emulation emulator game nintendo
Licenses: MPL-2.0
Conflicts: cemu
Provides: cemu
Submitter: abouvier
Maintainer: abouvier
Last Packager: abouvier
Votes: 12
Popularity: 0.69
First Submitted: 2022-08-27 04:24 (UTC)
Last Updated: 2024-12-07 18:16 (UTC)

Dependencies (50)

Required by (1)

Sources (2)

Pinned Comments

abouvier commented on 2022-10-12 17:50 (UTC)

Data and config files previously stored in ~/.local/share/cemu are now searched in ~/.config/Cemu, ~/.local/share/Cemu and ~/.cache/Cemu.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

lumenor2 commented on 2024-07-22 00:18 (UTC) (edited on 2024-07-22 00:19 (UTC) by lumenor2)

When the following is used in the build function:

    cmake -S $_pkgname -B build \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
        -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
        -DENABLE_VCPKG=OFF \
        -Wno-dev
    cmake --build build

It produces the following error:

Error: unknown pseudo-op: `.rodata'

However, modifying the build function according to the build instructions from upstream like so:

    cmake -S $_pkgname -B build \
        -DCMAKE_BUILD_TYPE=release \
        -DCMAKE_C_COMPILER=/usr/bin/clang \
        -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
        -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
        -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
        -DENABLE_VCPKG=OFF \
        -Wno-dev \
        -G Ninja
    cmake --build build

Is able to build the program and create the package. This is likely due to the latest commit from the source code repo.

patlefort commented on 2024-04-13 19:10 (UTC)

There is a conflict with shaderc and shaderc-non-semantic-debug. Down the line, something depends on libplacebo which depends on shaderc. I think libplacebo package should be changed to depend on libshaderc_shared.so.

lumenor2 commented on 2024-03-21 01:37 (UTC)

cannot build because of failure with the discord-rpc aur package.

painfularch commented on 2024-02-18 06:28 (UTC)

BUILD.md got updated if relevant: https://github.com/cemu-project/Cemu/blob/main/BUILD.md#for-arch-and-derivatives

patlefort commented on 2023-12-12 18:26 (UTC)

It's missing a dependency on libsm.

There is also some problems with glslang that can solved with the following patch:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c988508..ad2c558 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -128,7 +128,7 @@ find_package(pugixml REQUIRED)
 find_package(RapidJSON REQUIRED)
 find_package(Boost COMPONENTS program_options filesystem nowide REQUIRED)
 find_package(libzip REQUIRED)
-find_package(glslang REQUIRED)
+find_package(Vulkan COMPONENTS glslang REQUIRED)
 find_package(ZLIB REQUIRED)
 find_package(zstd MODULE REQUIRED) # MODULE so that zstd::zstd is available
 find_package(OpenSSL COMPONENTS Crypto SSL REQUIRED)
@@ -136,11 +136,6 @@ find_package(glm REQUIRED)
 find_package(fmt 9 REQUIRED)
 find_package(PNG REQUIRED)

-# glslang versions older than 11.11.0 define targets without a namespace
-if (NOT TARGET glslang::SPIRV AND TARGET SPIRV)
-   add_library(glslang::SPIRV ALIAS SPIRV)
-endif()
-
 if (UNIX AND NOT APPLE)
    find_package(X11 REQUIRED)
    if (ENABLE_WAYLAND)
diff --git a/src/Cafe/CMakeLists.txt b/src/Cafe/CMakeLists.txt
index 29c5a0b..4d0e8de 100644
--- a/src/Cafe/CMakeLists.txt
+++ b/src/Cafe/CMakeLists.txt
@@ -516,7 +516,7 @@ target_link_libraries(CemuCafe PRIVATE
    Boost::nowide
    CURL::libcurl
    fmt::fmt
-   glslang::SPIRV
+   Vulkan::glslang
    ih264d
    OpenSSL::Crypto
    OpenSSL::SSL

queenbiscuit311 commented on 2023-08-03 18:37 (UTC)

No idea why, but recloning the PKGBUILD repository for the 4th time worked. No idea what the deal was before, but it's built successfully now. My apologies, then!

queenbiscuit311 commented on 2023-08-03 18:29 (UTC)

I've downloaded the pkgbuild fresh multiple times, but I'll try again.

abouvier commented on 2023-08-03 18:19 (UTC)

You are not building the latest version of the PKGBUILD.

queenbiscuit311 commented on 2023-08-03 17:41 (UTC)

I've found myself unable to build this package ever since the fmt 9/10 incident. Every time I try to compile, I get met with this error:

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found CURL: /usr/lib/libcurl.so (found version "8.2.1")  
-- RapidJSON found. Headers: /usr/include
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: program_options filesystem nowide 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")  
-- Found zstd: /usr/lib/cmake/zstd/zstdConfig.cmake (found version "1.5.5") 
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.1.2") found components: Crypto SSL 
CMake Error at CMakeLists.txt:115 (find_package):
  find_package called with invalid argument "9.1.0...<10...<10"


-- Found PNG: /usr/lib/libpng.so (found version "1.6.40") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Wayland_Client: /usr/lib/libwayland-client.so (found version "1.22.0") 
-- Found Wayland: /usr/lib/libwayland-client.so (found version "1.22.0") found components: Client 
-- Found WaylandScanner: /usr/bin/wayland-scanner  
-- Found WaylandProtocols: //usr/share/wayland-protocols (found suitable version "1.32", minimum required is "1.15") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Checking for one of the modules 'gtk+-3.0'
-- Found GTK3: /usr/lib/libgtk-3.so;/usr/lib/libgdk-3.so;/usr/lib/libz.so;/usr/lib/libpangocairo-1.0.so;/usr/lib/libpango-1.0.so;/usr/lib/libharfbuzz.so;/usr/lib/libatk-1.0.so;/usr/lib/libcairo-gobject.so;/usr/lib/libcairo.so;/usr/lib/libgdk_pixbuf-2.0.so;/usr/lib/libgio-2.0.so;/usr/lib/libgobject-2.0.so;/usr/lib/libglib-2.0.so (found version "3.24.38") 
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found wxWidgets: /usr/lib/cmake/wxWidgets/wxWidgetsConfig.cmake (found suitable version "3.2.2", minimum required is "3.2") 
-- Checking for one of the modules 'zarchive'
-- Found ZArchive: /usr/lib/libzarchive.so (found version "0.1.2") 
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- The ASM_NASM compiler identification is NASM
-- Found assembler: /usr/bin/nasm
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: cemu-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
cemu-git - exit status 4

I've tried reinstalling and updating both fmt and fmt9, but nothing's worked.

Neko-san commented on 2023-08-02 01:52 (UTC)

Building with Clang and -stdlib=libc++ doesn't seem to actually use LLVM's libc++?

Using ldd on the resulting binary shows it links against gcc's:

libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007efcc2c00000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007efcc527c000)