GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Dec 22, 2014 6:20 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: needed help with gtk+ and gtkmm installation with dev-c++
PostPosted: Sat Apr 21, 2007 3:34 pm 
Offline

Joined: Sat Apr 21, 2007 3:11 pm
Posts: 3
hi all

it's been almost 2 months since i'm stuck with this problem
i cannot configure gtk+ and gtkmm with dev-c++ ide
i cannot find a detailed installation instuctions
if anyone had experience, can you share it with me please

my questions are:

do i need both runtime and development versions of gtk+ and gtkmm?

where do i install what?

what environmentals variables do i need to set?

what lib, bin and include directories should i add in dev-c++?

what settings do i need to set in project settings?

thanks a lot


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 21, 2007 7:04 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
In Linux? If so I'll give it a shot and let you know what happens when I try. Otherwise I can't help you as I don't have Windows.

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 21, 2007 7:28 pm 
Offline

Joined: Sat Apr 21, 2007 3:11 pm
Posts: 3
Sorry, forgot to mention. I'm afraid it's on Windows. Thanks anyway.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 22, 2007 8:17 pm 
Offline
Familiar Face

Joined: Tue Feb 13, 2007 3:45 pm
Posts: 30
Location: Madrid, Spain
I use GTK+ both on Windows and Linux, so let's go:

- Install Dev-C++.

- Install the GTK+ .devpack.

- Install the GTK+ runtime.

- Start Dev-C++, go to File -> New -> Project -> GUI. It should appear a new item, "GTK+". Select the kind of project, write a project name and click "Ok".

- Now, you have to add manually some header files. Go to Tools -> Compiler Options -> Directories and select "C includes" ("C++ includes" if you did so). Then, include this paths: include\gtk-2.0, lib\gtk-2.0\include, include\glib-2.0, lib\glib-2.0\include, include\cairo, include\pango-1.0, and include\atk-1.0.

And now, click the Build button to check everything's ok. If you still have problems, check every path you included. Keep in mind where you installed the .devpack.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 23, 2007 5:11 pm 
Offline

Joined: Sat Apr 21, 2007 3:11 pm
Posts: 3
OK, but how about gtkmm? There's no devpak for gtkmm!
By gtk.devpak do you mean the one at http://gtk.alkia.org/ ?
And will I have to add any directories in project options?

thanks a lot :D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 24, 2007 8:05 am 
Offline
Familiar Face

Joined: Tue Feb 13, 2007 3:45 pm
Posts: 30
Location: Madrid, Spain
Yeah, I mean the two files in http://gtk.alkia.org/index.php , both the runtime and the .devpack.

I don't use gtkmm, so I can't help you there, sorry.

And you'll have to add lib directories to your project, at least the ones I listed earlier. If you have third-party libraries, or maybe of your own, you'll have to add them too, of course.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group