openGL

1. new project

2.選openGL project
3.填好檔案名稱和路徑
4.按 Build and Run
5.完成
freeglut

1.從Transmission Zero下載freeglut壓縮檔

2.打開資料夾將libfreeglut.a複製一份

3.將複製的檔案重新命名成libglut32.a

4.在codeblocks內新增一個project

5.選glut project

6.按next

7.選好檔專案路徑並命名

8.選擇含有freeglut的資料夾

9.按下一步

10.按build and run

11.完成
沒有留言:
張貼留言