Results 1 to 4 of 4
hi, i am mohit
i hv some problem while compliling a file consisting of gtk and libpcap tools.
i m compiling my file using command:- gcc 'pkg-config --cflags --libs gtk+-2.0' ...
- 10-08-2007 #1Just Joined!
- Join Date
- Jun 2007
- Location
- nagpur
- Posts
- 6
gtk related problem
hi, i am mohit
i hv some problem while compliling a file consisting of gtk and libpcap tools.
i m compiling my file using command:- gcc 'pkg-config --cflags --libs gtk+-2.0' xyz.c -o xyz
while compilation error comes that pkg-config --cflags --libs gtk+-2.0 file not found
can u plz tell me how to solve this problem its very urgent for me, my program is not compliling due to this error..... plz gimmi some solution over it
- 10-08-2007 #2Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
- 10-08-2007 #3
Are you trying the single quotes?
gcc 'pkg-config --cflags --libs gtk+-2.0' xyz.c -o xyz
or
gcc `pkg-config --cflags --libs gtk+-2.0` xyz.c -o xyz
?
If you are using the previous using the other one should help.
- 10-09-2007 #4Just Joined!
- Join Date
- Jun 2007
- Location
- nagpur
- Posts
- 6
thank you munna thank u very much, now i m glad i got my output, ur given command runs dude... there r some warning in my programs but finally i create my exe file. my emaild Id is mohitwalke@gmail.com, gimmi ur mail Id, its my pleasure if i can talk to you..
chalo bye and take care.... thanks once again... hv a nice time


Reply With Quote

