Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-10-2008, 06:08 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 13

Rep: Reputation: 0
GTK+/GNOME programming

I have a few questions about gtk+/GNOME programming:
  1. I read in a book that if I one is using GNOME, all the libraries needed for GNOME programming is available in that system. Is that true for all the cases?
  2. Can I use something like #include <sys/gtk.h> or #include <gnome.h> in my programs?
  3. I'm using ubuntu 7.04 and when I tried to #include some headers in a program, there was an error message from the compiler saying that the header gnome.h was not found. Can I find that header in my system? Or should I have to install everything needed for GNOME programming from the beginning? If so what should I do?
  4. In the other case, when I tried to install gtk+1.2.6, again there was an error saying that the path for the GLIB(LD_LIBRARY_PATH) was not found. Does this variable(LD_LIBRARY_PATH) exist in the configure file? But I already had installed glib 1.2.4(as I remember). And apparently it was installed in /usr/local. What is reason for this error message?
  5. Isn't glib a default library in a GNOME environment?
Old 09-10-2008, 06:45 AM   #2
LQ Newbie
Registered: Mar 2007
Distribution: Ubuntu
Posts: 17

Rep: Reputation: 4
In most distributions, libraries are split in two packages: one with the actual "runtime" library files (.so), and one with the files needed to develop applications for that library (headers, .a files, etc).

So if you're looking for "libfoo3.0", you may want to also install "libfoo-3.0-dev", or "libfoo-3.0-devel", or whatever name your distro uses.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK programming exvor Programming 10 07-11-2005 04:59 AM
GTK programming geminigal Programming 1 06-02-2005 04:08 AM
Gtk programming geminigal Programming 2 05-11-2005 09:07 PM
Programming with GTK dfownz Programming 6 07-17-2004 02:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration