Programming in linux feels like I'm doing it with one hand behind my back, hot pokers in one eye and ice being randomly applied to my feet... :|
Anyways, some progress has been made, although not as much as I would like..
The inital (note that word) seg. fault was tracked down to me being dumb, I was calling the OSSpecificCreate() function after I was trying to use some varibles which it sets up.
Then I got a bad Atom problem, I've managed to make that go away but god knows how its going to effect things later on as the XInternalAtom()'s docs werent as clear as I'd like them to be.
I also found out you cant call "XSetInputFocus" when the window isnt visable, so I'll have to find a way to deal with that later.
After I'd sorted that out I was STILL getting a seg fault, a liberal sprinkling of std::couts over the place and the error was track down to me forgetting to create and setcurrent a GL context, god knows why I left that function blank like that.
I have tried to set something up, but its now seg faulting inside the NV GLX driver when I call 'CreateContext', god knows why :|
At some point I'll have to check my window creation and context creation code for sanity against some known working code, I've probably just over looked something somewhere... at least, I hope its something as simple as that.
For now, the pain of doing it has gotten to me and I've abandoned project in favour of chips, family guy and bed with a light read.
Earlier today I finished reading Modern C++ design, I wont say I followed all of it, I plan to give my brain some time to chew the infomation over, however it was ALOT easier to read this time compared to the last time I tried where I ended up bailing at the start of the 2nd chapter. 7 books later and I have the skill set to understand it.
I'm not sure what I'm going to read next, The C++ Standard Library is tempting but then so is C++ Template Metaprogramming, I'll flip a coin later [grin]