2016年4月26日 星期二

Week10 柯建良

主軸:貼圖


1.完整執行earth.exe


安裝openCV


解壓縮earth.exe


接壓縮freeglut.dll


下載地球地圖圖像


執行earth.exe


2.建立exe檔

設定compiler
C:\User\USER\Desktop\freeglut\include
C:\OpenCV2.1\include


設定linker
C:\User\USER\Desktop\freeglut\lib
C:\OpenCV2.1\lib


設定link libraries
cv210
cxcore210
highgui210


將貼圖放在C:\Users\USER\Desktop\freeglut\bin


執行


3.專案設定 建立exe檔

建立專案


程式碼


設定compiler
C:\User\USER\Desktop\freeglut\include
C:\OpenCV2.1\include


設定linker
C:\User\USER\Desktop\freeglut\lib
C:\OpenCV2.1\lib


設定link libraries
cv210
cxcore210
highgui210
freeglut
opengl32
glu32
gdi32
winmm


將freeglut與圖片放入專案


執行

沒有留言:

張貼留言