Hi!
I have done some tutorial with not problem with gtkmm 2.4
But today I am trying to do the tutorial
here
I have created the 3 files as their give code
here:
I have in the systems:
glibmm-2.32.1-i486-1_SBo
gtkmm-2.24.2-i486-1_SBo
gtkmm-utils-0.4.1-i486-1_SBo
gtkmm3-3.4.1-i486-1_SBo
I compile it by typing:
g++ -Wall -o GTK_test main.cc `pkg-config --cflags gtkmm-3.0 --libs gtkmm-3.0`
I get:
Code:
/tmp/ccOapu9M.o: In function `main':
main.cc:(.text+0xa4): undefined reference to `MyArea::MyArea()'
main.cc:(.text+0xe8): undefined reference to `MyArea::~MyArea()'
main.cc:(.text+0x140): undefined reference to `MyArea::~MyArea()'
collect2: error: ld returned 1 exit status
make: *** [test] Error 1
What is it wrong?