Re: [Vala] libgee on Windows



On Mon, Sep 7, 2009 at 11:45 AM, Didier "Ptitjes" <ptitjes free fr> wrote:

Hi Mr. Maxwell,

Mr. Maxwell . wrote:
I tried putting all the files in a Dev-C++ project and setting these
command line options
compiler-mms-bitfields -ID:/vala-0.7.4/include/glib-2.0
-ID:/vala-0.7.4/lib/glib-2.0/include
linkerD:/vala-0.7.4/lib/glib-2.0.lib
When I compiled the project I got hundreds of these errors
  [Linker error] undefined reference to xyz

I don't know well Windows so I can't help you more but I just can tell
you that there is no xyz symbol in Gee!

Best regards, Didier.


I think Maxwell was referring to the fact that there are many symbols not
found:)

Anyway, by the -mms-bitfields command-line I am supposing you're using gcc's
compiler and ld linker.

If this is the case, then the correct compiling and linking flags should be
inferred from "pkg-config --cflags --libs glib-2.0".

On my msys/mingw installation (with vala and other packages in d:/usr) i
have:

$ pkg-config.exe --libs  glib-2.0
-Ld:/usr/lib -lglib-2.0 -lintl

$ pkg-config.exe --cflags  glib-2.0
-mms-bitfields -Id:/usr/include/glib-2.0 -Id:/usr/lib/glib-2.0/include

--
Vlad


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