2023年2月16日 星期四

1binggreen week01 設定環境

 第一個OpenGL程式

開Codeblocks File-New-Project 選OpenGL Project








要選桌面

寫檔名 week01-1_OpenGL



最後按build and run

第二個程式

點開freeglut壓縮檔 拉到桌面上




把桌面\freeglut\lib 目錄裡的 libfreeglut.a 複製成 libglut32.a




開Codeblocks File-New-Project 選GLUT




專案名 week01-2_GLUT




再把GLUT的目錄設成桌面的freeglut



最後按build and run

1 則留言: