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

Can't compile with wlroots 0.14.1-1 #28

Closed
paleknight894 opened this issue Aug 17, 2021 · 4 comments
Closed

Can't compile with wlroots 0.14.1-1 #28

paleknight894 opened this issue Aug 17, 2021 · 4 comments

Comments

@paleknight894
Copy link

../waybox-0.0.2.1/include/waybox/server.h:20:10: fatal error: wlr/types/wlr_gtk_primary_selection.h: No such file or directory

@paleknight894
Copy link
Author

wlr_gtk_primary_selection.h is missing in wlroots 0.14

@jubalh
Copy link

jubalh commented Aug 17, 2021

That's not very surprising when you see the status of the project (#27) and consider how recent wlroots is.

@keithbowes
Copy link
Collaborator

keithbowes commented Jan 23, 2022

I'm sorry for the late response. I'm really bad at reading messages. I'll try to do better.

Anyway, it works for me. I replaced gtk-primary-selection with wp-primary-selection ages ago (commit ff54fec).

I even did a fresh clone to make sure my local copy didn't have anything that I didn't push to GitHub. Yup, it compiles fine:

$ meson build
The Meson build system
Version: 0.60.3
Source dir: /home/keith/Elŝutoj/programs/wayland/waybox2
Build dir: /home/keith/Elŝutoj/programs/wayland/waybox2/build
Build type: native build
Project name: Waybox
Project version: 0.1.0
C compiler for the host machine: gcc (gcc 11.2.1 "gcc (Mageia 11.2.1-0.20220108.1.mga9) 11.2.1 20220108")
C linker for the host machine: gcc ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency wlroots found: YES 0.14.1
Run-time dependency wayland-server found: YES 1.20.0
Run-time dependency wayland-protocols found: YES 1.24
Run-time dependency xkbcommon found: YES 1.3.1
Program wayland-scanner found: YES 1.20.0 (/usr/bin/wayland-scanner)
Build targets in project: 45

Found ninja-1.10.2 at /usr/bin/ninja
keith@localhost ~/Elŝutoj/programs/wayland/waybox2 (master u=) 
$ ninja -C build
ninja: Entering directory `build'
[98/98] Linking target waybox/waybox

@keithbowes
Copy link
Collaborator

I'm closing. If you still have this problem with the latest master branch, you can reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants