Slackware- GTK 3 with GTKMM 3 and cairo - some problems!
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': What is it wrong? |
You would need to list all the source files on the command line.
e.g. Code:
g++ -Wall -o GTK_test main.cc myarea.cc `pkg-config --cflags gtkmm-3.0 --libs gtkmm-3.0` |
Quote:
Why gcc would not work? it gives this error: Code:
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: /tmp/ccz7YdYR.o: undefined reference to symbol '_ZdlPv@@GLIBCXX_3.4' |
Quote:
Good luck! Franz |
All times are GMT -5. The time now is 04:18 AM. |