how do i fix "cannod find -lxkbcommon" error? it shows when running "cargo build" or "cargo run repl"
haven't seen that one before! can you post the full console output?
hmm, what OS are you running?
I guess macOS based on the mentions of homebrew in the trace
ubuntu 20.04.2 lts
interesting! ok try apt-get install libxkbcommon-dev
and see if that fixes it?
ha, I just noticed we have that in our Earthfile
but not in BUILDING_FROM_SOURCE.md
:sweat_smile:
it now works :poop:
great! made a PR to add it to the instructions: https://github.com/rtfeldman/roc/pull/1691
ah yes, this is now needed. I don't entirely know why though? The lib seems to do keyboard event handling. @Anton is this for the editor? I first had to install it while working on the wasm stuff but that should not do anything with the keyboard
I'm not sure which library requires it, I've been adding changes to the editor-let-value branch and not to trunk for a long time so I would guess it's not because of the editor. But I often specify only major and minor version number of editor dependencies so it could be that there was an unnoticed update with a patch version that required the library for a fix.
It's needed by the copy paste library of the editor
xcb v0.9.0
└── x11-clipboard v0.5.2
└── copypasta v0.7.1
└── roc_editor v0.1.0 (/home/brendan/Projects/roc-misc/roc/editor)
Last updated: Jul 06 2025 at 12:14 UTC