/var/spool/weblog
   


Prof Avery's weblog
jagged junkpile of jocularity

<spool@kenytt.net>

CSU Fullerton Perl Powered Python vi Hacker

Geek News

del.icio.us bookmarks

RSS


       
Wed, Feb 15, 2006

An easy way to run OpenGL programs
Now that I've put you through the pain of setting up your own programming environment, I'll show you the easy way to run gears.c.

Grab a copy of igloo.zip and unzip it somewhere convenient. Run the program by typing

	C:\igloo> igloo gears.c
Cool. No compilation step, no moving headers and library files around, just type and go. And in less than 230 Kb.

Igloo is a version of the EIC C Interpreter, an Open Source project that seems to have gone missing in action.

Luckily, I saved a copy, just for you. I wish I'd saved a copy of the source code, too, but at least there are lots of other C interpreters.

So what's the catch?

  1. The error messages generated by the interpreter aren't perfect. But then again, neither are the error messages generated by Visual Studio.
  2. I'm not sure how exact it is about implementing the ANSI C Standard, and can't find out because the web site is gone. There may be constructs that won't work. But gears.c is pretty complicated, and it works just fine.
  3. It's a C interpreter, not C++. Feel free to Google for one of those, and e-mail me if you find a good one.

/var/spool/courses/csuf/2006/spring/cpsc465/misc #

Schedule Change
Please note that I've updated the Course Outline.

I don't want to move too quickly through the next three weeks: transformations are the heart of the rendering pipeline.

/var/spool/courses/csuf/2006/spring/cpsc465 #


       

 

December 2017
Sun Mon Tue Wed Thu Fri Sat
         
           

RSS

Topics


Archives