Re: [Vala] Probably a setup issue with Gee



Frederik wrote:
Magnus Therning wrote:
However, when I try to compile a simple example from Vala Code
(http://code.valaide.org/content/gee-set-example) I get the following
error:

  % valac Set.vala
  Set.vala:1.7-1.9: error: The namespace name `Gee' could not be found
  using Gee;
        ^^^
  Compilation failed: 1 error(s), 0 warning(s)

It looks like something's missing from my system, preventing vala from
seeing
Gee.  I have no idea what though.  Any suggestions?

That's simple :-)
% valac Set.vala --pkg gee-1.0

Thanks, that did it.

Where should I have looked to find that info myself?

I don't need a --pkg glib-2.0 when "using GLib", is that added automatically?

Is gee-1.0 related to the pkg-config name for libgee?

/M

--
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]