Dolphin, the GameCube and Wii emulator - Forums

Full Version: (Debian) Cannot build due to LZMA issue [SOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to build for the first time in a few months, but CMake gives me errors regarding LZMA, despite finding it earlier.
Here is the relevant CMake output:
Code:
-- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Found LibLZMA: /usr/include (found version "5.2.4")
-- Looking for lzma.h
-- Looking for lzma.h - found
-- Using shared lzma
...
CMake Error at Source/Core/Core/CMakeLists.txt:1 (add_library):
 Target "core" links to target "LibLZMA::LibLZMA" but the target was not
 found.  Perhaps a find_package() call is missing for an IMPORTED target, or
 an ALIAS target is missing?
There are a bunch more errors like this but with different targets. When I try to run make it fails at around 80%, again with an lzma issue. Running aptitude gives:
Code:
aptitude show liblzma-dev
Package: liblzma-dev                    
Version: 5.2.4-1
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: libdevel
Maintainer: Jonathan Nieder <jrnieder@gmail.com>
Architecture: amd64
Uncompressed Size: 590 k
Depends: liblzma5 (= 5.2.4-1)
Suggests: liblzma-doc
Breaks: liblzma-dev:i386 (!= 5.2.4-1)
Replaces: liblzma-dev:i386 (< 5.2.4-1)
Description: XZ-format compression library - development files
XZ is the successor to the Lempel-Ziv/Markov-chain Algorithm compression
format, which provides memory-hungry but powerful compression (often better
than bzip2) and fast, easy decompression.

The native format of liblzma is XZ; it also supports raw (headerless) streams
and the older LZMA format used by lzma. (For 7-Zip's related format, use the
p7zip package instead.) This package provides the development library needed to
build programs using liblzma.
Homepage: https://tukaani.org/xz/
Tags: devel::lang:c, devel::library, implemented-in::c, interface::commandline,
     role::devel-lib, role::program, scope::utility, use::compressing,
     works-with::TODO, works-with::archive

I have tried different build types and install types. I have also deleted the folder and started from scratch. Any ideas?
I believe you're having an issue that would be fixed by this patch: https://github.com/dolphin-emu/dolphin/pull/9025
(10-06-2020, 08:40 PM)JosJuice Wrote: [ -> ]I believe you're having an issue that would be fixed by this patch: https://github.com/dolphin-emu/dolphin/pull/9025

Built first time. Thank you. I really think it's time I switched to Bullseye lol.