Installing and Using GLUT and OpenGL

on:

Sample code: the sample Makefile and source code build a simple line drawing application
and have been written to be portable across Linux, Mac OS X, and Windows platforms.

Please let me know if you have any correction or addition. Thanks.

Linux:

version: Fedora 10
kernel: 2.6.27.24-170.2.68.fc10.i686
gcc: 4.3.2-7
version: RedHat Enterprise Linux Client Release 5.3
kernel: 2.6.18-128.el5
gcc: 4.1.2-44
Eclipse 3.2.0

Mac OS X:

version: Lion 10.7.2 (11C2002)
kernel: Darwin 11.2.0
Xcode: 4.2.1
gcc: 4.2.1
version: SnowLeopard 10.6.4 (10FS69)
kernel: Darwin 10.4.0
Xcode: 3.2.4
gcc: 4.2.1
version: Leopard 10.5.8 (9L30)
kernel: Darwin 9.8.0
Xcode: 3.1.2
gcc: 4.0.1
version: Tiger 10.4.11 (8S165)
kernel: Darwin 8.11.0
Xcode: 2.0
gcc: 4.0.0

Windows:

versions:
7 Enterprise
Vista x64 Enterprise Edition SP2 (Build 6002)
Vista Enterprise Edition SP2 (Build 6002)
XP Professional Edition SP3 5.1 (Build 2600)

Visual Studio 2010 version 10.0.30319.1 RTMRel
.NET Framework version 4.0.30319 RTMRel
Visual Studio 2008 version 9.0.21022.8.RTM
.NET Framework version 3.5 SP1

Cygwin:

Note that I haven't been able to get GLSL to work under Cygwin/X and Windows 7.

version: NT-6.1 1.7.7(0.230/5/3)
version: NT-6.0-WOW64 1.5.25(0.156/4/2)
version: NT-6.0 1.5.25(0.156/4/2)
gcc: 3.4.4

References not cited:

Last updated: Jan 28, 2012 by Sugih Jamin