Re: problem installing gtkmm with Windows installer



Here is the compiler log file. But I cut it, since it is quite huge: 

Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\-=Projects=-\project01\Makefile.win"
Executing  make...
make.exe -f "C:\Dev-Cpp\-=Projects=-\project01\Makefile.win" all
g++.exe main.o mywindow.o  -o "project01.exe" -L"C:/Dev-Cpp/GTK/LIB"
-L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/mingw32/lib" -mwindows -user32   -Wl,-luuid  
-Wl,--rpath   -LC:/Dev-Cpp/GTK/lib   -lgtkmm-2.4   -lgdkmm-2.4   -latkmm-1.6  
-lgtk-win32-2.0   -lpangomm-1.4   -lglibmm-2.4   -lsigc-2.0  
-lgdk-win32-2.0   -limm32   -lshell32   -lole32   -latk-1.0  
-lgdk_pixbuf-2.0   -lpangowin32-1.0   -lgdi32   -lpangocairo-1.0   -lcairo  
-lpangoft2-1.0   -lfontconfig   -lfreetype   -lz   -lpango-1.0   -lm  
-lgobject-2.0   -lgmodule-2.0   -lglib-2.0   -lintl   -liconv  
-Wl,--enable-runtime-pseudo-reloc     main.o(.text+0x18c):main.cpp:
undefined reference to `Gtk::Main::Main(int&, char**&, bool)'
main.o(.text+0x1b6):main.cpp: undefined reference to
`Gtk::Main::run(Gtk::Window&)'
main.o(.text+0x1e0):main.cpp: undefined reference to `Gtk::Main::~Main()'
main.o(.text+0x257):main.cpp: undefined reference to `Gtk::Main::~Main()'
mywindow.o(.text+0x155):mywindow.cpp: undefined reference to
`Gtk::Window::Window(Gtk::WindowType)'
mywindow.o(.text+0x257):mywindow.cpp: undefined reference to
`Gtk::Window::Window(Gtk::WindowType)'
mywindow.o(.text+0x389):mywindow.cpp: undefined reference to
`Gtk::Window::~Window()'
mywindow.o(.text+0x512):mywindow.cpp: undefined reference to
`Gtk::Window::~Window()'
mywindow.o(.text+0x6a0):mywindow.cpp: undefined reference to
`Gtk::Window::~Window()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x18):mywindow.cpp:
undefined reference to `Gtk::Window::set_manage()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x1c):mywindow.cpp:
undefined reference to `Gtk::Object::destroy_notify_()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x20):mywindow.cpp:
undefined reference to `Gtk::Widget::on_show()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x24):mywindow.cpp:
undefined reference to `Gtk::Widget::on_hide()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x28):mywindow.cpp:
undefined reference to `Gtk::Widget::on_map()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x2c):mywindow.cpp:
undefined reference to `Gtk::Widget::on_unmap()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x30):mywindow.cpp:
undefined reference to `Gtk::Widget::on_realize()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x34):mywindow.cpp:
undefined reference to `Gtk::Widget::on_unrealize()'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x38):mywindow.cpp:
undefined reference to `Gtk::Widget::on_size_request(_GtkRequisition*)'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x3c):mywindow.cpp:
undefined reference to `Gtk::Widget::on_size_allocate(Gdk::Rectangle&)'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x40):mywindow.cpp:
undefined reference to `Gtk::Widget::on_state_changed(Gtk::StateType)'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x44):mywindow.cpp:
undefined reference to `Gtk::Widget::on_parent_changed(Gtk::Widget*)'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x48):mywindow.cpp:
undefined reference to `Gtk::Widget::on_hierarchy_changed(Gtk::Widget*)'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x4c):mywindow.cpp:
undefined reference to
`Gtk::Widget::on_style_changed(Glib::RefPtr<Gtk::Style> const&)'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x50):mywindow.cpp:
undefined reference to
`Gtk::Widget::on_direction_changed(Gtk::TextDirection)'
mywindow.o(.rdata$_ZTV8MyWindow[vtable for MyWindow]+0x54):mywindow.cpp:
undefined reference to `Gtk::Widget::on_grab_notify(bool)'
....// keeps on giving undefined references
mywindow.o(.rdata$_ZTC8MyWindow0_N3Gtk6ObjectE[construction vtable for
Gtk::Object-in-MyWindow]+0x54):mywindow.cpp: undefined reference to `virtual
thunk to Gtk::Object::set_manage()'
collect2: ld returned 1 exit status make.exe: *** [project01.exe] Error 1
Execution terminated

This undefinded refferences go basicly through all quite a lot of classes
and its functions, in total i have 408 and I only did a small window to test
the compiling: 
main: 
#include "mywindow.hpp"

int main(int argc, char**argv)
{
  Gtk::Main main_obj(argc,argv);
  MyWindow window_obj;
  main_obj.run(window_obj);
  return EXIT_SUCCESS;
}

header:
#ifndef GUARD_MY_WINDOW_HPP_INCLUDED
#define GUARD_MY_WINDOW_HPP_INCLUDED 1

#include <gtkmm.h>

class MyWindow : public Gtk::Window
{
  public:
    MyWindow();
    virtual ~MyWindow();
};

#endif
cpp-file:
#include "mywindow.hpp"

MyWindow::MyWindow()
  {}

MyWindow::~MyWindow()
  {}

That should give me just an empty window. 
-- 
View this message in context: http://www.nabble.com/problem-installing-gtkmm-with-Windows-installer-tf2775046.html#a7790536
Sent from the Gtkmm mailing list archive at Nabble.com.




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