glut installation problem in visual studio 2010

Started by
0 comments, last by danasatriya 14 years, 5 months ago
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
Advertisement
there is a bug in the visual studio 2010. so just change int main to int _tmain

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=454646

This topic is closed to new replies.

Advertisement