Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

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.