Fwd: How to run Gtkmm progs in kdevelop?

Ralf Nolden nolden at kde.org
Thu May 2 14:59:20 BST 2002



----------  Forwarded Message  ----------

Subject: How to run Gtkmm progs in kdevelop?
Date: Thursday 02 May 2002 08:00
From: abhi s <abhisworld1234 at yahoo.com>
To: nolden at kde.org

Hi,
This is a simple gtkmm program named base.cc which
displays a window.
#include <gtk--/main.h>
#include <gtk--/window.h>
 int main(int argc, char *argv[])
 {
     Gtk::Main kit(argc, argv);
     Gtk::Window window (GTK_WINDOW_TOPLEVEL);
     window.show();
     kit.run();

     return(0);
 }
To compile this in the terminal we use the following
command:
 g++ base.cc -o base `gtkmm-config --cflags --libs`
How do we do the same in kdevelop? How do we set the
flags and link those particular libraries.
How do we make an executable which will have all the
libraries built into it such that we can execute it in
any linux machine in which the gtkmm libraries are not
installed ?
regards
Abhi
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

-------------------------------------------------------

-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org

The K Desktop Environment       The KDevelop Project
http://www.kde.org              http://www.kdevelop.org

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list