PDA

View Full Version : install Glut in visual studio



niobee
11-07-2009, 04:29 AM
Hi all,

I am trying to install glut in visual studio 2010 professional. However, I could not managed to install it in my windows 7. The procedure that I did is

1. Put the file "glut32.dll" in "C:\WINDOWS\system32"
2. Put the file "glut.h" into

C:\Program Files\Microsoft Visual Studio 10.0\Vc\Include\gl -> i create my own gl folder

3. Put the file "glut32.lib" into
C:\Program Files\Microsoft Visual Studio 10.0\Vc\lib


Add a linker using this

Project -> Configuration Properties -> Linker -> Input
add opengl32.lib glut32.lib glu32.lib in "additional dependencies"


when I try to "Ctrl+F5" my program

I got the following error :
Error 1 error LNK1104: cannot open file 'glut32.lib opengl32.lib glu32.lib' LINK Draw

I would appreciate so much for any of you who can help me figuring this .. :(

Thank you