|
Written by Administrator
|
|
Tuesday, 06 May 2008 11:30 |
|
What is glut? Glut is a small framework you can use to create OpenGL applications. It presents it's self as a header file (glut.h), a .lib and a .dll file. (The lib and dll part is for windows obviously...the linux distribution would have an .so file I think). I can't tell you how to install it on linux but if you are a linux fan I'm using you are used to compile and install libraries. Glut is open source so it should give you any trouble. You can download glut from here: http://www.xmission.com/~nate/glut.html For windows get the binaries with the 3 files I mentioned. Now you could either copy them with your other sources in the same folder and include glut.h from it (using quotes and not <>: #include "glut.h"). I assume you know "" means current folder and <> mean path. That or you could put them in the path where Visual Studio expects them and never worry about it again: glut.h in C:\Program Files\Microsoft Visual Studio 8\VC\include\GL\ glut32.lib in C:\Program Files\Microsoft Visual Studio 8\VC\lib glut32.dll in C:\Windows\System32 Obviously if you have a different Visual Studio version then me you would'd put them in the it's folder. Visual Studio 8 is 2005 and 9 is 2008.
|
|
Last Updated ( Thursday, 19 June 2008 07:24 )
|