thread/dispatcher.cc not compiling on win32



Hi,

I am trying to compile dispatcher.cc example program provided with the
documentation and facing a linker error. It is not able to find
g_thread_init-

$ g++ disp.cpp `pkg-config gtkmm-2.4  --cflags --libs` -o disp
C:\DOCUME~1\RAMASH~1\LOCALS~1\Temp/ccg7aaaa.o(.text$_ZN4Glib11thread_initEP17_GThreadFunctions[Glib::thread_init(_GThreadFunctions*)]+0xd):disp.cpp:
undefined reference to `g_thread_init'
collect2: ld returned 1 exit status

I am using gtkmm 2.8 and the setup seems to be ok.
Any idea of where I am going wrong here?

Thanks
Ramashish



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