WillPower3309 / swayfx

SwayFX: Sway, but with eye candy!
MIT License
1.17k stars 48 forks source link

Swayfx: build errors #298

Open ismarus2007 opened 2 months ago

ismarus2007 commented 2 months ago

Hi everyone, I decided to install SwayFX via the GitHub repository. Cloned it into my home directory and logged in. I type in the command - “meson build/”

Result:

Version: 1.4.0
Source dir: /home/user/swayfx
Build dir: /home/user/swayfx/build
Build type: native build
Project name: sway
Project version: 0.3.3
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Neither a subproject directory nor a scenefx.wrap file was found.
Subproject  scenefx is buildable: NO (disabling)
Found pkg-config: YES (/sbin/pkg-config) 2.1.1
Found CMake: /sbin/cmake (3.29.2)
Run-time dependency scenefx found: NO (tried pkgconfig and cmake)

meson.build:44:10: ERROR: Dependency "scenefx" not found, tried pkgconfig and cmake

A full log can be found at /home/user/swayfx/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

Okay, going to install SceneFX through AUR.

Result:

Version: 1.4.0
Source dir: /home/user/.cache/yay/scenefx-git/src/scenefx
Build dir: /home/user/.cache/yay/scenefx-git/src/build
Build type: native build
Project name: scenefx
Project version: 0.1
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Woverflow: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Walloca: YES
Compiler for C supports arguments -Wno-missing-braces: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
Found pkg-config: YES (/sbin/pkg-config) 2.1.1
Run-time dependency wayland-server found: YES 1.22.0
Neither a subproject directory nor a wlroots.wrap file was found.
Subproject  wlroots is buildable: NO (disabling)
Run-time dependency wlroots found: YES 0.17.2
Run-time dependency libdrm found: YES 2.4.120
Run-time dependency xkbcommon found: YES 1.7.0
Run-time dependency pixman-1 found: YES 0.43.4
Library m found: YES
Library rt found: YES
Run-time dependency wayland-protocols found: YES 1.35
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency egl found: YES 1.5
Run-time dependency gbm found: YES 24.0.5-arch1.1
Run-time dependency glesv2 found: YES 3.2
Program ./embed.sh found: YES (/bin/sh -eu /home/user/.cache/yay/scenefx-git/src/scenefx/render/fx_renderer/gles2/shaders/./embed.sh)
Build targets in project: 123

scenefx 0.1

  Subprojects
    wlroots           : NO
                        Neither a subproject directory nor a wlroots.wrap file was found.

  User defined options
    auto_features     : enabled
    buildtype         : plain
    libexecdir        : lib
    prefix            : /usr
    sbindir           : bin
    werror            : false
    wrap_mode         : nodownload
    python.bytecompile: 1
    b_pie             : true

Although wlroots is in the system!!! Anyway, help pls :(

WillPower3309 commented 2 months ago

Hmm, I'd think it would work! Is the issue in installing scenefx then? If so, please open an issue on the the scenefx GitHub. Alternatively you can install swayfx-git from the aur

WillPower3309 commented 2 months ago

We're aiming to have a release at the end of the weekend so worst case you can get it by installing the stable version from the aur then