2017年9月15日 星期五

ClassNote_Week01 openGL專案 & glut專案

1. openGL_01

。設定compiler
(1) Moodle >上課軟體 >下載  codeblocks 16.01mingw
(2) 安裝 codeblocks-16.01mingw-setup.exe
(3) 打開 CodeBlocks

(4) Settings >Compiler >Global compiler settings >Toolchain executables
      >Compiler's installation directory >Auto-detect >OK

(5) 完成預設工作!
。openGL專案
(1) File >New >Project >OpenGL project >Go

(2) 設定project名字 >Go
(3) 完成專案創建,編譯並執行

2. glut_01

。設定compiler
(1) Moodle >上課軟體 >下載 freeglut 3.0.0 MinGW
(2) 解壓縮後找到 freeglut資料夾 >lib
(3) 複製一份 freeglut.a 並改名為 libglut32.a
。glut專案
(1) File >New >Project >GLUT project >Go

(2) 設定project名字 >Go
(3) 設定GLUT的路徑 >Go

(4) 完成專案創建,編譯並執行

沒有留言:

張貼留言