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

[Bug]: 0.2.3在archlinux下似乎编译无法通过 #353

Open
SunRain opened this issue Aug 4, 2024 · 3 comments
Open

[Bug]: 0.2.3在archlinux下似乎编译无法通过 #353

SunRain opened this issue Aug 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@SunRain
Copy link

SunRain commented Aug 4, 2024

SUMMARY | 问题概要

archlinux+kde最新版本下使用cmake -DWITH_SUBMODULE_WAYLIB=ON -DBUILD_TEST_CLIENTS=ON -DUSE_WLROOTS_GIT=ON .. 编译0.2.3版本提示(wlroots为0.18.0-1)
In file included from /home/wangguojian/Project/Deepin/treeland/waylib/qwlroots/src/types/qwtabletmanagerv2.cpp:14: /usr/include/wlroots-0.18/wlr/types/wlr_tablet_v2.h:15:10: 致命错误:tablet-v2-protocol.h:没有那个文件或目录 15 | #include "tablet-v2-protocol.h" | ^~~~~~~~~~~~~~~~~~~~~~

如果不加DUSE_WLROOTS_GIT=ON,则提示如下,但是我实际已经装了wlroot17的包

`
-- Checking for one of the modules 'wlroots>=0.17.0'
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:938 (message):
None of the required 'wlroots>=0.17.0' found
Call Stack (most recent call first):
waylib/qwlroots/src/CMakeLists.txt:23 (pkg_search_module)

-- Checking for one of the modules 'wayland-server'
-- Checking for one of the modules 'pixman-1'
-- setup WLROOTS_VERSION: count 0, major , minor , patch
wlroots version=, major=, minor=, patch=
-- Checking for one of the modules 'wayland-protocols'
CMake Error at waylib/qwlroots/src/CMakeLists.txt:268 (if):
if given arguments:

"GREATER_EQUAL" "18"

Unknown arguments specified
`

LAUNCH-WAY | 启动方式

unknown

BACKEND | 启动后端

Wayland

STEPS TO REPRODUCE | 复现步骤

如题

OBSERVED RESULT | 观察到的结果

No response

EXPECTED RESULT | 期望的结果

No response

ADDITIONAL INFORMATION | 额外补充

No response

@SunRain SunRain added the bug Something isn't working label Aug 4, 2024
@wineee
Copy link
Member

wineee commented Aug 4, 2024

只能用 wlroots 0.17

@SunRain
Copy link
Author

SunRain commented Aug 5, 2024

只能用 wlroots 0.17

但是我看0.2.3的项目里面已经引入0.18了,没有全部支持吗?

@wineee
Copy link
Member

wineee commented Aug 5, 2024

只有 qwlroots 支持 0.18, waylib treeland 只能用 0.17

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