![]() |
KnowledgeBase
Writing OpenGL programs for NT
How do I get started writing OpenGL programs for NT?
The OpenGL 1.1 Software Development Kit (SDK) is bundled with Windows NT 4.0. An enhanced version will come with SGI systems, which includes extended headers, additional programming examples, performance analysis tools and a highly tuned native OpenGL implementation. OpenGL programs are compiled under the Win32 environment, which has a very different build environment from IRIX. Instead of the usual command line tools such as Make and CC, the tools will vary depending on the provider. Microsoft, for instance, has provided some automated tools in the Interactive Development Environment (IDE) to create Microsoft-specific makefiles. Following is an example of the IRIX build commands and the closest corresponding equivalent for Microsoft Visual C++ IRIX Visual C++ CC cl (C++ compiler command) cc cl (standard 'C' compiler command) make nmake ld link elfdump dumpbin (for viewing symbol table,etc.) If IRIX-like makefiles are desired, GNU or Cygnus tools offer more traditional makefile support. Check out the following links:
http://www.gnu.org
Typical Installation:
http://reality.sgi.com/opengl/glut3/glut3.html
Where to Start: In addition, there is an abundance of information on these OpenGL websites:
http://www.opengl.org Among other things, the above sites contain:
Advanced OpenGL: http://www.opengl.org/Coding/Coding.html?SIGGRAPH#first_hit
Copyright © 1997-98, Silicon Graphics, Inc.
|