Missing pango_render_part_get_type in Win32 Pango?



I'm wondering if the function pango_render_part_get_type() should be exported on Pango Win32 1.8.0.

Right now I'm trying to compile GTKmm 2.6.2, and getting this error:

---
Creating library file: .libs/libpangomm-1.4.dll.a
.libs/renderer.o: In function `ZN4Glib5ValueIN5Pango10RenderPartEE10value_typeEv': c:/projects/gtkmm-2.6.2/pango/pangomm/renderer.cc:44: undefined reference to `pango_render_part_get_type'
---

Then I just did a quick test:

---
#include <pango/pango.h>
int main(void)
{
       GType t = pango_render_part_get_type ();
       return 0;
}
---

But the compilation fails:

---
gcc -c main.c -o main.o `pkg-config --cflags pango` -mms-bitfields gcc main.o -o test.exe `pkg-config --libs pango` main.o:main.c:(.text+0x2b): undefined reference to `pango_render_part_get_type'
collect2: ld returned 1 exit status
---

I also did try linking directly with the DLL, to make sure the problem wasn't just with the import library, but this symbol doesn't seems to be exported it in any way MinGW can find it.

Should this function be exported? Or is GTKmm using some private function? Was anyone able to compile GTKmm 2.6.2 with GTK+ 2.6.7 (and Pango 1.8.0) ?



Daniel K. O.





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