FIRST OPEN
step1:open codeblocks
step2: build a new openGL project
step3:input your file's name
step4:open your code
step5: choose build and run
GLUT
steop1:下載freeglut 解壓縮進入lib資料夾複製libfreeglut.a 貼上
step2:將名字改成libglut32.a
step3:新建一個openGL(glut)project
step4:輸入名字
step5:選擇freeglut資料夾的位置
step6:打開程式碼
step7:按build and run
完成~~~~
沒有留言:
張貼留言