Re: [Win32] Glib-Object-Intropsection-0.042



-----Original Message----- From: sisyphus1 optusnet com au

[snip]

Beyond that, the build of the module also fails with unresolved symbols.

I was able to work around that by providing the full linking list on the command line:

perl Makefile.PL LIBS="-LC:\MinGW\perl524_64int\site\lib\auto\Glib -lGlib -LC:\_64\msys64\mingw32\lib -lgirepository-1.0 -lgobject-2.0 -lgio-2.0 -lglib-2.0 -lintl -lgmodule-2.0 -lffi -lgthread-2.0"
make
make test
make install

Actually, while that did "fix" the problem, it wasn't the way to do it.

MSYS2 provides both ".a" (static) and ".dll.a" (import) libraries for most, if not all, of the gtk3 libraries.

My build was trying was linking to some of the static libraries.
When I hid those static libraries, the build succeeded straight out of the box - except that the test libraries did not build because of the error I reported earlier.

Cheers,
Rob

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