Linking OpenGL Programs in MSC++ 6


Using GLUT with Visual Studio 6

File
New
Projects
Win32 Application
Project name = Whatever_you_want_to_call_it
Specify a directory
Create an "empty project"
Project
Add To Project
Files
Your_C++_File
opengl32.lib
glu32.lib
glaux.lib
glut32.lib
Project
Settings
Link
Select Category = Output
Entry-point symbol = mainCRTStartup
Build
Rebuild All
Execute

Using GLUT with .net 2004

File
New
Projects
Visual C++ Projects
Win32 Project
Project name = Whatever_you_want_to_call_it
Specify a directory
Win32 Application Wizard
Application Settings
Choose "Console Type"
Check "Empty Project"
View
Solution Explorer
Add Existing Item
Your_C++_File
opengl32.lib
glu32.lib
glaux.lib
glut32.lib
Build
Build Solution
Debug
Start