LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2009, 01:02 AM   #1
supravat
LQ Newbie
 
Registered: Jun 2009
Posts: 21

Rep: Reputation: 15
Arrow Linux GUI Programming


I have created some projects using C language. But my project is terminal based. I have to type commands. I want to insert GUI or graphical view to my project. I heard of gtk but when i want to include the following header #include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>

and compile the .c file with cc then it says that gtk.h, gdkkeysyms.h are not found.

Please help me.....
 
Old 07-13-2009, 01:12 AM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 70
Well, first of all, make sure the needed (development) libraries and headers are installed in your system. Which distribution do you use? Use your package manager to check what's installed and install the missing parts. Usually, the headers for gtk are installed in
/usr/include/gtk-XX/gtk/
but it can vary.
Second, read this tutorial
http://library.gnome.org/devel/gtk-tutorial/stable/
at least the part about writing and compiling the HelloWorld program. Pay attention to the compilation command as it's not very obvious.

Good Luck.
 
  


Reply


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
GUI programming for linux sham Programming 6 08-08-2007 03:14 AM
Linux GUI programming questions alagenchev Programming 7 05-15-2006 03:13 AM
Programming on Linux -- CLI to GUI nodisk Programming 15 12-25-2005 04:06 PM
what do you think which is the best programming GUI for linux?? linux juggler Programming 21 06-03-2004 09:02 AM
linux gui programming semaphore Programming 10 03-03-2004 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:55 PM.

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