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 

Erros during compilation

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


Joined: 26 Feb 2008
Posts: 11

PostPosted: Fri Feb 29, 2008 2:24 am    Post subject: Erros during compilation Reply with quote

When i write a small c program with gtk.h and glade.h
i get following error
[Ujjwol@localhost Practice]$ gcc -Wall -g -o ujjwol glade.c 'pkg-config --cflags --libs gtk+-2.0 libglade-2.0'
gcc: pkg-config --cflags --libs gtk+-2.0 libglade-2.0: No such file or directory
glade.c:5:21: error: gtk/gtk.h: No such file or directory
glade.c:6:25: error: glade/glade.h: No such file or directory
Back to top
Micah Carrick
Never Seen the Sunlight


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

PostPosted: Fri Feb 29, 2008 11:10 pm    Post subject: Reply with quote

What distribution are you using? Are you sure you have the glade and gtk development libraries installed?
Back to top
Ujjwol
Familiar Face


Joined: 26 Feb 2008
Posts: 11

PostPosted: Mon Mar 03, 2008 5:29 pm    Post subject: Reply with quote

i am using fedora 8 werewolf and now the problem is solved..
THanks for your interest... :lol:
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