5

I am trying to create a Vala Application that will create an AppIndicator.

The problem is that when I compile my application I get the following error:

Package `appindicator3-0.1' not found in specified Vala API directories or GObject-Introspection GIR directories

I compile the application like so:

 valac --pkg appindicator3-0.1 --pkg gtk+-3.0 indicator.vala

I have libappindicator-dev installed and gir1.2-appindicator3-0.1 installed.

What I am missing?

Thank you.

brpaz
  • 267
  • 2
  • 5
  • 16

1 Answers1

6

According to the search on packages.ubuntu.com you need to install related packages:

sudo apt install libappindicator3-dev gir1.2-appindicator3-0.1
N0rbert
  • 97,162
  • 34
  • 239
  • 423
  • Wow, I was sure I had libappindicator3-dev already installed. It looks like not. Thanks ;) – brpaz Jan 19 '19 at 19:16