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 

compling of gtk

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
cnu_sree
GTK+ Geek


Joined: 06 Oct 2006
Posts: 57

PostPosted: Mon Nov 20, 2006 11:32 am    Post subject: compling of gtk Reply with quote

iam new baby to gtk
when iam trying to comlpling aa small program
iam getting following errors

command: gcc -Wall -g main.c -o main 'pkg-config --cflags --libs gtk+-2.0'

gcc: pkg-config --cflags --libs gtk+-2.0: No such file or directory
main.c:8:20: gtk/gtk.h: No such file or directory
main.c:9:27: gdk/gdkkeysyms.h: No such file or directory
please help me how to compile gtk
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Mon Nov 20, 2006 5:01 pm    Post subject: Reply with quote

Make sure you use the slanted slash (`) up on the ~ key. That will tell the terminal to execute the command between the two slashes and place the result in its place before executing.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming 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