2023年2月16日 星期四

Benson的筆記_week01設定環境

1.

 1-1 第一個openGL程式

    打開codeblocks--file--new project--openGL專案


                                                 按下存檔於桌面,檔名week01-1_openGL
按下build and run



 1-2 第二個程式GLUT專案

    點開freeglut的壓縮檔,再拉到桌面上,把裡面的libfreeglut.a複製一個改名成libglut32.a

    codeblocks--file--new project--選擇GLUT專案,檔案取名叫做week01-2_GLUT

    再把GLUT的目錄設定成桌面的freeglut檔案就可以了













      




沒有留言:

張貼留言