主軸:貼圖
實作:旋轉地球(1)Run EXE
(A)解壓myEarth.zip,取出exe檔
(B)裝openCV2.1vs2008.exe ★小心:Add PATH
(C)freeglut\bin\freeglut.dll解,放在同一目錄中
(D)Google:earth map 存成 image.jpg
(E)執行myEarth.exe
目的:布署Deploy dll vs exe

課堂作業二:
實作:旋轉地球(2)Build EXE
(A)有專案檔 myEarth.cbp
有source main.cpp
(B)設好3個重點
(1)Include目錄
C:\users\user\Desktop\freeglut\include
C:\OpecCV2.1\include

(2)Lib目錄
C:\users\user\Desktop\freeglut\lib
C:\OpecCV2.1\lib

(3)Linker咒語
cv210
cxcore210
highgui210

(C)把Image.jpg複製 C:\users\user\Desktop\freeglut\bin
目的:專案設定好,建出exe檔

課堂作業三:
實作:旋轉地球(3)0 --> EXE
自己的專案自己建/設定
(A)File-New-Project,選右上貝殼
(B)Copy程式碼進去
(C)設定
(1)Include目錄
C:\users\user\Desktop\freeglut\include
C:\OpecCV2.1\include

(2)Lib目錄
C:\users\user\Desktop\freeglut\lib
C:\OpecCV2.1\lib

(3)Linker咒語
cv210
cxcore210
highgui210
freeglut
opengl32
glu32
gdi32
winmm

(C)把Image.jpg以及freeglut.dll一起copy到同一目錄
目的:專案設定好,建出exe檔
沒有留言:
張貼留言