[SOLVED]Compiled urn-gtk wont run
Hey Guys,
I cloned the archive and cd'ed into it, but when I run the 'make' command, I get the following error:
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -c -o urn-gtk.o urn-gtk.c
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package jansson was not found in the pkg-config search path.
Perhaps you should add the directory containing `jansson.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jansson' found
urn-gtk.c:8:21: fatal error: gtk/gtk.h: File or Directory not found
compilation terminated.
I have installed the latest version of libgtk+-3.0, x11 and libjansson offered by the apt package manager (I'm using Linux Mint 18 with Kernel version 4.4.0-21-generic).
How do I fix this issue?
Thanks in advance ;)
Try installing libjansson-dev and libgtk-3-dev (i did this on Lubuntu via apt-get).
Thank you very much, make now compiles properly. But if I use
./urn-gtk splits/sotn.json
now, it gives the following:
(urn-gtk:7315): GLib-GIO-ERROR **: Settings schema 'wildmouse.urn' is not installed
Trace/breakpoint trap
Trying
sudo make install
gives a very long error message, that I can post, if needed.
Yes, please post the output of sudo make install (use pastebin if it's too long)
https://pastebin.com/ssJYBcK5
thats what I get.
~~This isn't listed anywhere, but ImageMagick is required for the make install step. Do you have ImageMagick installed? If so, please post the output of convert -list delegate.~~
Edit: Nevermind, this issue has occurred before. See #12
Thank you, that helped ;)