Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

:S anjuta/c++ with gtkmm PLEASE HELP!!!

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
cookie



Joined: Wed Oct 04, 2006 4:20 pm
Posts: 4

PostPosted: Wed Oct 04, 2006 4:32 pm    Post subject: :S anjuta/c++ with gtkmm PLEASE HELP!!! Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast