不得不說我裝了半天
到C槽去放了很多.dil .lib 檔 之類的, 照步驟做好幾次就是不能執行QQ
所以只好用這種丟進專案裡的方式啦 在這邊做個紀錄 免得下次忘記
1. 下載glut檔案 http://www.mediafire.com/file/aci5fr16jhvvfei/glut.rar
2. 打開visual c++ 2010 -> New Project -> Win32 Console Application -> Create directory 不勾 -> 專案名打一下 -> OK
3. Application Settings -> Precompilied header 不勾 -> 勾 Empty project -> 上面勾 Console application -> Finish
4. 打個hello world 執行一下
5. 解壓縮下載好的glut 把glut資料夾放進專案裡 -> 打開Debug 把glut32.dll 放進去
6. 專案按右鍵 -> Properties -> 左上Active(Debug) 改成 All Configurations -> C/C++ ->General -> Additional Include Directories 打上 glut/
7. Linker -> General -> Additional Library Directories 打上 glut/
8. Linker -> Input ->Additional Dependencies -> edit ->打上 glut32.lib 設定結束
9. #include<glut.h> 找個example 丟進去試試
10. 終於好惹