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>
?
If you used apt-get
, Synaptic Package Manager
, etc. to get the appindicator
library (vs. building it from source), did you only install the libappindicator1
package or did you also install libappindicator-dev
to get the libappindicator
header 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 the libappindicator-dev
package as well.