Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to use Anjuta to start using Vala. It was working well until I tried to use an ArrayList. The Gee library doesn't seem to work in Anjuta; it seems to be working when I compiled it manually. Am I missing something?

share|improve this question
up vote 2 down vote accepted

Maybe you need to add

--pkg gee-1.0 

in src/ under VALAFLAGS, then reconfigure and build.

So far, I experienced that I have to add any libraries I use there. Otherwise, it won't find the references.

share|improve this answer
Ah, thank you so much! I was looking around the other makefiles for that spot but missed this one. – thejambi Jan 27 '12 at 2:31
So to get it all to work, the --pkg flag needs to be added in that makefile, and the library needs to be configured in the library list as well for the project. – thejambi Jan 27 '12 at 3:12
Why is this not automatically taken care of when you do Project->Add Library? – weberc2 Oct 21 '12 at 3:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.