-   Linux - Newbie (
-   -   compiling and running gtk programs in linux (

gibin 06-24-2010 01:30 PM

compiling and running gtk programs in linux
Iam trying to study gtk programming and get stucked before some errors in
compiling them. Iam using ubuntu 9.10 and i didnt installed any additional libraries or packages for running these gtk programs assuming gtk is already installed in ubuntu.As iam newbie to gtk i tried compiling some example programs from my tutorial and it ended up in errors.
So do i need any additional packages to run these programs.when compiling it shows package config cannot find any gtk+-2.0 packages and to try specifying .pc in environment path.I dont know how to set these path stuff.please help me on this...

knudfl 06-24-2010 02:46 PM

" gtk+-2.0 package " usually means :
The package config files are in the development packages.

This command will install the missing files, headers, etc:
'sudo apt-get install libgtk2.0-dev'

Please also use the Search the Package Manager = Synaptic.

All times are GMT -5. The time now is 02:28 AM.