GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

needed help with gtk+ and gtkmm installation with dev-c++

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion
Author Message
kaos_frack



Joined: 21 Apr 2007
Posts: 3

PostPosted: Sat Apr 21, 2007 3:34 pm    Post subject: needed help with gtk+ and gtkmm installation with dev-c++ Reply with quote

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
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 514
Location: Portland, OR USA

PostPosted: Sat Apr 21, 2007 7:04 pm    Post subject: Reply with quote

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.
Back to top
kaos_frack



Joined: 21 Apr 2007
Posts: 3

PostPosted: Sat Apr 21, 2007 7:28 pm    Post subject: Reply with quote

Sorry, forgot to mention. I'm afraid it's on Windows. Thanks anyway.
Back to top
deusvede
Familiar Face


Joined: 13 Feb 2007
Posts: 30
Location: Madrid, Spain

PostPosted: Sun Apr 22, 2007 8:17 pm    Post subject: Reply with quote

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.
Back to top
kaos_frack



Joined: 21 Apr 2007
Posts: 3

PostPosted: Mon Apr 23, 2007 5:11 pm    Post subject: Reply with quote

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
Back to top
deusvede
Familiar Face


Joined: 13 Feb 2007
Posts: 30
Location: Madrid, Spain

PostPosted: Tue Apr 24, 2007 8:05 am    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP