[efh] Demonstrating code in the ACTLab?

Drake Wilson drake at begriffli.ch
Mon Mar 12 03:48:07 CDT 2007


Hrrm...

A friend happened to ask me a few questions about a graph layout
algorithm using simulated annealing that I'd never heard of before,
and I decided it looked neat so I would write a little thing that
displayed the graph placement being annealed with a little 2D
SDL+OpenGL.

It feels like something I should show the class, because people might
be interested in that sort of thing, but I'm not sure how to
demonstrate it.  It's just a single C source file; I think at present
it requires GNU C to compile (since it's just a quick hack and I wound
up using nested functions), but that could be transformed away fairly
easily.

Mainly, I know that most flavors of GNU/Linux mostly have really
convenient compiler toolchains available right there if you put the
right packages on, but my impression is that Mac OS X and Windows
(which seem to be the two primary OSes in use in the lab) don't have
such convenient chains; I don't have either of those operating systems
at home, so I can't easily generate binaries for them, especially
since the necessity for platform-specific OpenGL linking &c.  probably
makes cross-compilation a Herculean feat.  I'd like to show the
graphics output on the projector, if possible.

So, for those of you more familiar with the room than I am: what's the
best way to do this?  Does Mac OS X have a more convenient toolchain
(including SDL and OpenGL) than I thought, or is there a spare
GNU/Linux machine floating around that could be plugged in, or what?
I can't easily bring my home machine over, unfortunately, because it's
also my Web server and as such has to largely stay connected all the
time...

   ---> Drake Wilson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://home.actlab.utexas.edu/pipermail/efh/attachments/20070312/7c92dbc6/attachment.pgp


More information about the efh mailing list