FedericoCeratto/nim-libnotify

Cannot find glib2

Closed this issue · 2 comments

Xe commented
cdodrill@cdodrill-laptop (linux) ~/.nimble/pkgs/libnotify-0.0.1
➜  nim c -r test_libnotify.nim                                                                                          [0]
Hint: system [Processing]
Hint: test_libnotify [Processing]
Hint: libnotify [Processing]
libnotify.nim(13, 8) Error: cannot open 'glib2'

You need libglib2: sudo apt install libglib2.0-0

Xe commented

You also need the nimble package gtk2, you should add this to the dependencies list in the nimble file.