[Libsigcx-main] how to compile gtkmm and SigcX programm?
Status: Beta
Brought to you by:
rottmann
From: al v. <va...@ho...> - 2005-05-13 00:25:22
|
When I try to compile example programm using Make file given, it all goes well. But how to compile it without Make file , i mean with gcc? I use gcc 3.4.3 under Fedora 3. I tried : gcc `pkg-config --cflags --libs gtkmm-2.0` `pkg-config --cflags --libs sigcx-0.6` `pkg-config -cflags --libs sigc++-1.2` example.cc -o example ; and get error : In file included from gtkmm_example.cc:36: /usr/local/include/sigcx-0.6/sigcx/thread_tunnel.h:28:25: sigcxconfig.h: No such file or directory then i try to -I~/libsigcx-0.6.4/ and i get this: /home/kiku/libsigcx-0.6.4/ gtkmm_example.cc -o gtkmm_example /tmp/ccZoOSxV.o(.text+0x2512): In function `termWindow::termWindow()': : undefined reference to `SigCX::GtkDispatcher::GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x2c50): In function `termWindow::termWindow()': : undefined reference to `SigCX::GtkDispatcher::~GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x2d25): In function `termWindow::termWindow()': : undefined reference to `SigCX::GtkDispatcher::GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x3463): In function `termWindow::termWindow()': : undefined reference to `SigCX::GtkDispatcher::~GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x37dd): In function `termWindow::~termWindow()': : undefined reference to `SigCX::GtkDispatcher::~GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x37f4): In function `termWindow::~termWindow()': : undefined reference to `SigCX::GtkDispatcher::~GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x3bfd): In function `termWindow::~termWindow()': : undefined reference to `SigCX::GtkDispatcher::~GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x3c14): In function `termWindow::~termWindow()': : undefined reference to `SigCX::GtkDispatcher::~GtkDispatcher()' /tmp/ccZoOSxV.o(.text+0x4025): more undefined references to `SigCX::GtkDispatcher::~GtkDispatcher()' follow /tmp/ccZoOSxV.o(.text+0x419b): In function `termWindow::on_delete(_GdkEventAny*)': : undefined reference to `SigCX::GtkDispatcher::exit()' /tmp/ccZoOSxV.o(.text+0x42ba): In function `termWindow::sig_handler(int)': : undefined reference to `SigCX::GtkDispatcher::exit()' collect2: ld returned 1 exit status termWindow is changed MyWindow class name. Please help. Thanks. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |