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

Fails to build if wp-cursor-shape-v1-protocol.h not available #68

Closed
vadz opened this issue Apr 9, 2024 · 2 comments
Closed

Fails to build if wp-cursor-shape-v1-protocol.h not available #68

vadz opened this issue Apr 9, 2024 · 2 comments

Comments

@vadz
Copy link

vadz commented Apr 9, 2024

I'm not sure if this is known/intended, but the latest version doesn't build under Debian Bookworm because wp-cursor-shape-v1-protocol.h is nowhere to be found.

0e41693 (2 commits behind main right now) builds (and works) fine.

@vaxerski
Copy link
Member

vaxerski commented Apr 9, 2024

we require the protocol, I guess you have to wait for debian to update

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2024
@vadz
Copy link
Author

vadz commented Apr 9, 2024

we require the protocol, I guess you have to wait for debian to update

Sure, I'll just use the commit mentioned above for now, it works perfectly well without this protocol AFAICS.

It might still be worth to improve the error as right now it's not very clear, e.g. CMake ends with just

-- Checking for modules 'wayland-client;wayland-protocols;xkbcommon;cairo;pango;pangocairo;libjpeg'                                                                                                                              
--   Found wayland-client, version 1.21.0                                                                                                                                                                                        
--   Found wayland-protocols, version 1.31                                                                                                                                                                                       
--   Found xkbcommon, version 1.5.0                                                                                                                                                                                              
--   Found cairo, version 1.16.0                                                                                                                                                                                                 
--   Found pango, version 1.50.12                                                                                                                                                                                                
--   Found pangocairo, version 1.50.12                                                                                                                                                                                           
--   Found libjpeg, version 2.1.5                                                                                                                                                                                                
Could not open input file: No such file or directory                                                                                                                                                                             
Could not open input file: No such file or directory                                                                                                                                                                             
-- Configuring done                                                                                                                                                                                                              
CMake Error at CMakeLists.txt:78 (add_executable):                                                                                                                                                                               
  Cannot find source file:                                                                                                                                                                                                       
                                                                                                                                                                                                                                 
    wp-cursor-shape-v1-protocol.h                                                                                                                                                                                                
                                                                                                                                                                                                                                 
  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h                                                                                                                                                     
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc                                                                                                                                                      
                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                 
-- Generating done                                                                                                                                                                                                               
CMake Generate step failed.  Build files cannot be regenerated correctly.

and I have no idea what it wants in "Could not open input file: No such file or directory", but, well, it's just cosmetic.

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

2 participants