GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Aug 27, 2016 8:08 am

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Problem in running gtk inside Scratchbox
PostPosted: Fri Jan 16, 2009 4:43 am 
Familiar Face

Joined: Tue Dec 23, 2008 7:05 am
Posts: 42

I want to rum a gtk program inside scratchbox that will compile ultimately for another target .there is a by default sample folder hello-world-gtk within which after issuing command ./ I am facing some familiar error

No package 'gtk+-2.0' found
No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Even I set the pkg-config path as
export LD_LIBRARY_PATH=/scratchbox/tools/bin/pkg-config
But the problem is not solved .
Looking for the solution .Thanks in advance

 Post subject:
PostPosted: Fri Jan 16, 2009 7:25 am 
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia

PKG_CONFIG_PATH should point to the folder with *.pc files, something like "/scratchbox/tools/lib/pkgconfig" if you installed gtk with --prefix=/scratchbox/tools.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: 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