2 down and 4 exams to go. I ev …

2 down and 4 exams to go. I even mentioned Linux in my graphics exam when asked about graphical effects in movies. I just _couldn’t_ resist Titanic and Linux πŸ™‚
I had a slight problem compiling PTC yesterday. I downloaded source.zip instead of source.tar.gz (I was going to try it in VC5 as well..) There’s a shell script and makefile included but they wouldn’t run. That’s solved (MSDOS characters..) but even with source.tar.gz it complained. Here’s what you do:
In the source directory, before you do anything, type:

mkdir ../library

mkdir ../library/linux

mkdir ../library/linux/gcc
and then

sh ./linux
and everything should work fine!
When you’re compiling the demos and example programs make sure the path to libvga.so is correct. Mine is at /usr/lib/ instead of /lib/
Hope that helps!
On a totally different note, take a look at /usr/src/linux/Documentation/memory-tuning.txt for some nice hints on fine tuning your Linux box. I have a 32 meg machine here and after trying the suggested setting I have around 3 megs of RAM left all the time and the system appears faster.
Why aren’t you all posting on news://news.scene.org/coders.os.linux then, eh? The people who post there know their stuff (well, except for me, but then, you always get exceptions πŸ˜‰ so let’s have some good demo coding chat.. Anyone wanna try code a scrolly and some effects on the X root ? That would be kinda cool, something along the lines of Flush by TBL and Analogue (demo on the Win95 desktop.. somewhere on ftp://ftp.skynet.stack.nl/pub/demos) but better πŸ™‚ It can be done. Linux does multitask, and if you tune your memory as suggested above it probably won’t throw out the bckground demo in a hurry!
Back to the study.. πŸ™

Author: Donncha

Donncha Γ“ Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Google+ and Twitter.

Leave a Reply