-
Notifications
You must be signed in to change notification settings - Fork 931
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
Linux compilation errors related to smithay-client-toolkit #1562
Comments
Could you explain how are you compiling winit, are you passing some special flags to do certain stuff? winit compiles just fine and tested on Ci on Linux, so something like that would be noticed long time ago. I'm not even sure how to repro it. cc @vberger |
Interesting so if I compile it alone it works fine, if I compile Currrently using |
I can compile your lib, but I had to delete |
You are hitting this issue: Smithay/wayland-rs#291 TL;DR : wayland-scanner runs rustfmt on the generated code if available, to ease debugging (otherwise the whole thing is generated on a single line which is horrible to inspect). However rustfmt's |
OS: Arch Linux
GPU: Amd Vega 56 & Nvidia GTX 780
The version that winit uses of the lib smithay-client-toolkit seems to be a bit dated. This dependancy brings in wayland-protocols which fails to build on my linux systems.
I can manually fix these errors as they seem to be code generation problems. There are functions that begin within comments that shouldn't be in the comments.
It has been fairly annoying to manually go through and change these files everytime I do a fresh build on my linux systems. I am not sure if this would be solved by updating the lib used. These does seem to be a fairly large task just taking a glance at it, but I think this is something that should be looked at.
The text was updated successfully, but these errors were encountered: