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

Swayfx: build errors #298

Open
ismarus2007 opened this issue Apr 24, 2024 · 2 comments
Open

Swayfx: build errors #298

ismarus2007 opened this issue Apr 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ismarus2007
Copy link

ismarus2007 commented Apr 24, 2024

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 :(

@ismarus2007 ismarus2007 added the bug Something isn't working label Apr 24, 2024
@WillPower3309
Copy link
Owner

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
Copy link
Owner

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

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