cookie
Joined: Wed Oct 04, 2006 4:20 pm Posts: 4
|
Posted: Wed Oct 04, 2006 4:32 pm Post subject: :S anjuta/c++ with gtkmm PLEASE HELP!!! |
|
|
hello all,
im trying to create a gui using glade with gtk and code the project in c++ for this you need the lib gtkmm so my code looks like this:
| Code: | #include <gtkmm.h>
int main( int argc, char *argv[] )
{
Gtk::Main kit(argc, argv);
Gtk::Window window;
Gtk::Main::run(window);
return 0;
} |
i can compile this app with the command:
| Code: | | cookie@BLACKBETTY ~/projects/c++/cppgtkwindow/src $ g++ main.cc -o myapp `pkg-config gtkmm-2.4 --cflags --libs` |
however if i try and run the "./configure" that was made by anjuta i get this error:
| Code: |
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtkmm-2.0) were not met:
No package 'gtkmm-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details. |
how can i get the "./configure" to work? please help ive tried linuxquestions and gentoo forums, but neiter have helped, cheers. |
|