I am trying to compile the simple C example from this tutorial on Ubuntu using GCC. What do I have to use as arguments for GCC to include the needed libraries for #include <libappindicator/app-indicator.h>?
I am trying to compile the simple C example from this tutorial on Ubuntu
Share
If you used
apt-get,Synaptic Package Manager, etc. to get theappindicatorlibrary (vs. building it from source), did you only install thelibappindicator1package or did you also installlibappindicator-devto get thelibappindicatorheader files? Linux packages very often have split the runtime libraries from the compile-time headers. That way people who only need the libraries to satisfy a dynamic link don’t have to install unneeded headers. But since you’re doing development you need those headers and therefore need thelibappindicator-devpackage as well.