Package Details: nkk-fossil r5.c8b52ae0ba-1

Git Clone URL: https://aur.archlinux.org/nkk-fossil.git (read-only, click to copy)
Package Base: nkk-fossil
Description: Wayland client library w/ cairo drawing
Upstream URL: https://code.jessemcclure.org/nkk
Licenses: MIT
Provides: nkk
Submitter: Trilby
Maintainer: Trilby
Last Packager: Trilby
Votes: 0
Popularity: 0.000000
First Submitted: 2022-03-10 23:55 (UTC)
Last Updated: 2022-10-11 21:30 (UTC)

Latest Comments

Trilby commented on 2026-07-06 12:46 (UTC)

@aminepro

That is an error from building your own code against nkk, right?

The error is in your code. Your callback function is of the improper type. Please see the example code provided in the source repository. Alternatively feel free to open a thread on the forums and post your code and I'll be happy to help troubleshoot your code there.

aminepro commented on 2026-06-29 16:12 (UTC) (edited on 2026-06-29 16:12 (UTC) by aminepro)

[code]"src/window.c: In function ‘window_run’: src/window.c:36:33: error: passing argument 2 of ‘nkk_window_on_draw’ from incompatible pointer type [-Wincompatible-pointer-types] 36 | nkk_window_on_draw(win, draw); | ^~ | | | void ()(void) In file included from src/silo.h:4, from src/window.c:10: /usr/include/nkk.h:75:52: note: expected ‘void ()(nkk_win , cairo_t )’ {aka ‘void ()(struct nkk_window , struct _cairo )’} but argument is of type ‘void ()(void)’ 75 | void nkk_window_on_draw (nkk_win , void ()(nkk_win , cairo_t )); | ^~ src/window.c:14:13: note: ‘draw’ declared here 14 | static void draw(); | ^~ src/window.c: At top level: src/window.c:42:6: error: conflicting types for ‘draw’; have ‘void(nkk_win , cairo_t )’ {aka ‘void(struct nkk_window , struct _cairo )’} 42 | void draw(nkk_win win, cairo_t ctx) { | ^~ src/window.c:14:13: note: previous declaration of ‘draw’ with type ‘void(void)’ 14 | static void draw(); | ^~ make: *** [<builtin>: window.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting..."[/code]

Trilby commented on 2022-10-11 21:31 (UTC)

Thanks. I updated the PKGBUILD in the source repo, but forgot to push the changes to the AUR when I added egl windows. I just updated and the libglvnd dependency is now properly listed.

TrialnError commented on 2022-10-11 20:18 (UTC)

There seems to be a missing dep? Compilation fails for me because it couldn't find/import EGL/egl.h