Now the book I got (Tom Swans GCC for Linux) tells me all nice and well how to 'make' the source code into executables but it appears that my version of linux doesn't quite obey the law in terms of what Tom's telling us. He says that I am supposed to compile my programs in something called the C26 folder in the src/ directory but this doesn't exist. Or am I supposed to create it myself?
Also I cannot seem to find the config.mk file he mentions
Nore do I appear to be able to see the xlib.h etc include files anywhere.
Can anyone point me in the right direction, or maybe recommend a better book source? I use SUSE 9.3 if that helps.
― Ste (Fuzzy), Monday, 10 October 2005 08:33 (twenty years ago)
man updatedbman locate
8) (isn't xlib.h usually in /usr/include/X11 somewhere? you may need to install the x development package - it's not on my ubuntu box at work)
are you using kde or gnome? (kde is c++ based. gnome is c based) both have extensive tutorials on, and decent tools for, writing applications. try those instead of vanilla X.
config.mk sounds like something configure / automake would use. C26 is unknown to me.
― koogs (koogs), Monday, 10 October 2005 09:20 (twenty years ago)
I tried looking everywhere for xlib.h, in all the X11 folders that existed. to no avail.
yes i'm using KDE, I will have a gander for the tutorials you speak of. thanks again.
― Ste (Fuzzy), Monday, 10 October 2005 09:38 (twenty years ago)
http://www.kdevelop.org/http://en.wikipedia.org/wiki/KDevelophttp://women.kde.org/articles/tutorials/kdevelop3/
a bird tells me that xlib.h are part of the xfree86 / xorg development package. don't know what that means in suse though, sorry. oh, 'xdevel' apparently:
rpm -qf /usr/X11R6/include/X11/Xlib.h
― koogs (koogs), Monday, 10 October 2005 09:47 (twenty years ago)
ta for the links.
― Ste (Fuzzy), Monday, 10 October 2005 09:51 (twenty years ago)
My guess is that this is something to do with Chapter 26 of the book maybe?
― tissp! (the impossible shortest specia), Monday, 10 October 2005 10:13 (twenty years ago)
― tissp! (the impossible shortest specia), Monday, 10 October 2005 10:14 (twenty years ago)
― Jonothong Williamsmang (ex machina), Monday, 10 October 2005 11:03 (twenty years ago)
anyway just installed every single KDE development item from the SuSe source disks and wow I've opened up some loverly looking development programs for KDE. So will delve into this tonight.
Cheers all
― Ste (Fuzzy), Monday, 10 October 2005 11:17 (twenty years ago)
― tissp! (the impossible shortest specia), Monday, 10 October 2005 12:21 (twenty years ago)
― RickyT (RickyT), Monday, 10 October 2005 12:28 (twenty years ago)
― Ste (Fuzzy), Monday, 10 October 2005 12:31 (twenty years ago)
― Jonothong Williamsmang (ex machina), Monday, 10 October 2005 12:49 (twenty years ago)
thanks to all, you may now go about your business.
― Ste (Fuzzy), Thursday, 13 October 2005 08:19 (twenty years ago)
Could you just write it in Java (or virtually anything else for that matter)? I realise you might be constrained by what's already there, but it's not a barrel of laughs and dead slow to get anything useful going.
Best of luck anyway.
― KeefW (kmw), Thursday, 13 October 2005 17:28 (twenty years ago)
I suppose I want knowledge in more than one area so I can choose best programming paths for certain tasks. I may never use X programming at all but I'd like to at least be able to say I've looked into it.
If I had the time I'd be programming everything in Assembly!
Anyway in response to some of the posts here I just bought a new book on KDE and QT development. Wish me luck, oh you just did.
― Ste (Fuzzy), Thursday, 13 October 2005 21:31 (twenty years ago)
Okay, who here knows about gtk/wxPython/gui filehandling?
― kingfish, Monday, 25 June 2007 18:13 (eighteen years ago)
can someone here tell me how to do my job because I don't know how
― Curt1s Stephens, Monday, 25 June 2007 18:15 (eighteen years ago)
gtk is awful
― Catsupppppppppppppp dude 茄蕃, Monday, 25 June 2007 18:29 (eighteen years ago)
jw is a diss bot for all things that aren't the OS X Finder
― El Tomboto, Monday, 25 June 2007 18:33 (eighteen years ago)
Movable Type sux-- Catsupppppppppppppp dude 茄蕃, Wednesday, June 6, 2007 5:13 PM
-- Catsupppppppppppppp dude 茄蕃, Wednesday, June 6, 2007 5:13 PM
― El Tomboto, Monday, 25 June 2007 18:34 (eighteen years ago)
gtk is the only thing that'll run the gui bits that i need.
― kingfish, Monday, 25 June 2007 18:37 (eighteen years ago)
What are you having trouble with? GTK doesn't really have much to do with filehandling itself.
― Forest Pines Mk2, Tuesday, 26 June 2007 08:32 (eighteen years ago)
yeah, i thought that. but maybe he meant
http://www.pygtk.org/docs/pygtk/class-gtkfileselection.html
ie the file selector dialog box thing.
― koogs, Tuesday, 26 June 2007 09:46 (eighteen years ago)
Mmmm. I have used it, briefly - in C rather than in Python, though.
― Forest Pines Mk2, Tuesday, 26 June 2007 10:10 (eighteen years ago)
yeah, me too. loved the whole 'define the entire gui in xml' aspect of it. didn't use it for much more than writing my own version of knotes / gnome-notes though.
but, apparently, it's awful, so i won't bother again.
― koogs, Tuesday, 26 June 2007 10:27 (eighteen years ago)
I haven't tried Glade - I just code it all up the old-fashioned way.
― Forest Pines Mk2, Tuesday, 26 June 2007 10:28 (eighteen years ago)
Is cool. Finally got the thing working. Was having problems setting the directory & filename in the dialog box.
― kingfish, Tuesday, 26 June 2007 14:26 (eighteen years ago)