Write records here just for fear that if the original blog is removed someday.
Key Steps to create Win32 console application:
- Select "Empty Project" in the wizard dialog.
- In the Project Property, Configuration Properties → Linker → Input, Type “opengl32.lib;glu32.lib” in Additional Dependencies.
- For above step, remember to select the "All configurations" to set the debug and release environment at the same time.
Key Step to set up GLUT environment:
- Download the original GLUT library from Nate Robins’ site. (for my case, the zip package will generate one .h file, two .lib files, two .dll files after upzipped.)
- put the files as below: (VS2010) ( I copy these three lines form the original blog..)
glut.h to the folder C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl\
glut32.lib to the folder C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\
glut32.dll to the folder C:\Windows\System32\
It is nice that my quick-note was helpful to you, and I'm proud that u kept link to by blog here :)
回覆刪除my friend, I'm so happy to see your message. It surprises me that you find this rookie blog :) ..really cheers me up!
回覆刪除