D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Very simple (Cross Platform) graphics ...

 

On Fri, 30 Dec 2011, Gordon Henderson wrote:

SDL?

Ah. Hmm.. Looks intersting... Thanks.

Download the C demo program. Compile it. OK. Run it. Bang. Killed X, Lost 9 virtual screens worth of work including the BBC News Quiz Panto. Not amused. Now, even Jeremy Hardy sounds good.

Well, while SDL looks really good and almost exactly what I want, I can get no further. All programs I've compiled to use SDL cause xserver-xorg to segfault which is somewhat inconvenient.

But Debian supplied programs that use SDL (e.g. vlc) obviously don't cause it to crash, so I'm doing something wrong, but I really can't work out what.

And another quick test - the test programs I'm playing with compile and run under Debian Lenny on my old Acer Laptop OK. (ati graphics) My workstation is Debian Squeeze with intel graphics.

Even copying a statically compiled binary up to the Squeeze box causes it to crash. Googling suggests lots of crashes too, but Debian must do something to stop their own software from crashing.

Ah well. Back to the drawing board.

Gordon

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq