PDA

View Full Version : GLUT Files



ianwillo
11-23-2003, 01:52 PM
Hello, i am new to open GL and have just installed visual C++ on my computer. The problem i have got is the GLUT file is missing. I have obtained the files needed but where or what do i do. If somone could please tell me it would be great thanks, Ian

cirityone
11-25-2003, 12:39 AM
Hi, You must put "glut32.dll" in your C:\WINDOWS\SYSTEM32 folder, put "glut.h" in C:\Program Files\Microsoft Visual Studio\VC98\include\GL folder and "glut32.lib" in C:\Program Files\Microsoft Visual Studio\VC98\lib. Therefore, you must include in your C/C++ Project -> Settings -> Link -> General -> Object/library modules "glut32.lib".
Now include "glut.h" in your C/C++ code, save all, build and ok. http://www.opengl.org/discussion_boards/ubb/smile.gif