ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok after checking out ncurses and xlib im trying to figure out what im doing
wrong here. The tutorial im reading wants to create a basic program that
creates a window.
hmm, yeah it should be included... does "gtk-config --libs --cflags" present the right details though? Maybe that's a gtk-1.4 thing?
But really... can i just suggest that you don't bother? instead use gtk2 instead.. why bother learning a deprecated library that is no longer supported?
gtk.org for everything really... i forget the code differences between the two, so maybe that IS gtk2 code, BUT you are definitely linking on gtk1 libraries. gtk1 uses the gtk-config gubbins, whilst gtk2 uses the mroe complete pkg-config framework for getting libs and cflag values.
Yea that was the issue it was the ` ohh on the gtk+-2.0 page the latest one is not there its supposed to be but its not. I installed that and now am trying to solve another issue with compiling a simple hello world program keeps giving me a parse error but i see no error with the syntax. ??
Cool well Im experimenting more and more with gtk+-2.0 im starting to see why programmers like this interface for creating gui apps. Its much eazier to figure out then xlib or ncurses. Maybe its just me tho , but its something at least i can understand why this is here and why thats there in the programming code.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.