Summary: | gtkmm-2.8.1 library is missing three important constants | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Buell <alex.buell> |
Component: | [OLD] Library | Assignee: | GNOME C++ Bindings Maintainers (OBSOLETE) <gnome-mm+disabled> |
Status: | VERIFIED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Buell
2006-04-25 06:24:18 UTC
gtk-2.8.1 is not in portage... what ebuild is this exactly about? Just amended gtk-2.8.1 to gtkmm-2.8.1, sorry about that!! Reopened with amended summary line. can you attach example source + how you are attemping to compile/link it? #include <gtkmm.h> #include <iostream> int main() { std::cout << "Gtkmm " << gtkmm_major_version << "." << gtkmm_minor_version << "." << gtkmm_micro_version << "\n"; return 0; } g++ `pkg-config --libs --cflags gtkmm-2.4` gtkmm_test.cpp -o gtkmm_test /tmp/ccZu58l0.o: In function `main': gtkmm_test.cpp:(.text+0x131): undefined reference to `gtkmm_major_version' gtkmm_test.cpp:(.text+0x154): undefined reference to `gtkmm_minor_version' gtkmm_test.cpp:(.text+0x177): undefined reference to `gtkmm_micro_version' collect2: ld returned 1 exit status make those all capitals like: GTKMM_MAJOR_VERSION GTKMM_MINOR_VERSION GTKMM_MICRO_VERSION and you won't have those errors. How strange - they're certainly lower case in /usr/include/gtkmm-2.4/gtkmm! But thank you, that's solved my problem. |