3

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?

thejambi
  • 442
  • 3
  • 7

1 Answers1

2

Maybe you need to add

--pkg gee-1.0 

in src/Makefile.am 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.

user20926
  • 36
  • 2
  • Ah, thank you so much! I was looking around the other makefiles for that spot but missed this one. – thejambi Jan 27 '12 at 02: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 03:12
  • Why is this not automatically taken care of when you do Project->Add Library? – weberc2 Oct 21 '12 at 03:48