Hi, I have this code: Glib::RefPtr<Gtk::Builder> refBuilder = Gtk::Builder::create(); try { refBuilder->add_from_file(UI_FILE); } catch(const Glib::FileError& ex) { std::cerr << "FileError: " << ex.what() << std::endl; } catch(const Gtk::BuilderError& ex) { std::cerr << "BuilderError: " << ex.what() << std::endl; } refBuilder->get_widget ("frmAddNews", pAddNews); if(pAddNews) { // Get the GtkBuilder-instantiated Button, and connect a signal handler: refBuilder->get_widget("cmdCancel", cmd_Cancel); if(cmd_Cancel) { cmd_Cancel->signal_clicked().connect(sigc::mem_fun(*this, &addNews::on_cmd_Cancel_clicked)); } } } compiller shows this error: "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory `/home/devcode/NetBeansProjects/MyKyrs' "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/mykyrs make[2]: Entering directory `/home/devcode/NetBeansProjects/MyKyrs' mkdir -p dist/Debug/GNU-Linux-x86 g++ `pkg-config --cflags gtkmm-3.0 glib-2.0` `pkg-config --libs gtkmm-3.0 glib-2.0` -o dist/Debug/GNU-Linux-x86/mykyrs build/Debug/GNU-Linux-x86/addNews.o build/Debug/GNU-Linux-x86/main.o build/Debug/GNU-Linux-x86/deriveddialog.o build/Debug/GNU-Linux-x86/appMenu.o build/Debug/GNU-Linux-x86/frmMain.o /usr/lib/libgtkmm-3.0.so /usr/lib/libglibmm-2.4.so /usr/lib/libatkmm-1.6.so /usr/lib/libsigc-2.0.so /usr/lib/libglibmm-2.4.so -lglademm-2.4 -lglibmm-utils -lglibmm_generate_extra_defs-2.4 /usr/bin/ld: build/Debug/GNU-Linux-x86/deriveddialog.o: undefined reference to symbol 'g_log' /usr/bin/ld: note: 'g_log' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libglib-2.0.so so try adding it to the linker command line /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libglib-2.0.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [dist/Debug/GNU-Linux-x86/mykyrs] Error 1 make[2]: Leaving directory `/home/devcode/NetBeansProjects/MyKyrs' make[1]: *** [.build-conf] Error 2 make[1]: Leaving directory `/home/devcode/NetBeansProjects/MyKyrs' make: *** [.build-impl] Error 2 Inst: gtkmm-3.0 glib-2.0 Compiler options: `pkg-conf --cflags --libs gtkmm-3.0 glib-2.0` OS: Ubuntu 11.10 x32 IDE NetBeans 7.0.1 |