(A)解壓myEarth.zip
取出exe檔
(B)裝OpenCV2.1 vs 2008.exe
*小心:Add PATH
(C) freeglut\bin\freeglut.dll
解.放在同一目錄中
(D)Google:earth map存成image.jpg
(E)執行myEarth.exe
目的:布署Deploy
dll vs exe
ToDo:自己的exe自己做
(A)有專案檔myEarth.cbp
有source main.cpp
(B)設好3個重點
(1)Include目錄
C:\users\USER\Desktop\freeglut\include
C:\OpenCV2.1\include
(2)Lib目錄
C:\users\USER\Desktop\freeglut\lib
C:\OpenCV2.1\lib
(3)Linker咒語
cv210
cxcore210
highgui210
把Image.jpg
freeglut.dll
檔案都放在同一個資料夾
(C)把Image.jpg複製C:\users\USER\Desktop\freeglut\bin
目的:專案設定好建出exe檔
ToDo:自己的專案自己做
(A)File-New-Project選又上貝殼
(B)Copy程式碼進去
(C)設定
(1)Include目錄
C:\users\USER\Desktop\freeglut\include
C:\OpenCV2.1\include
(2)Lib目錄
C:\users\USER\Desktop\freeglut\lib
C:\OpenCV2.1\lib
(3)Linker咒語
cv210
cxcore210
highgui210
ToDo:自己的exe自己做
(A)有專案檔myEarth.cbp
有source main.cpp
(B)設好3個重點
(1)Include目錄
C:\users\USER\Desktop\freeglut\include
C:\OpenCV2.1\include
(2)Lib目錄
C:\users\USER\Desktop\freeglut\lib
C:\OpenCV2.1\lib
(3)Linker咒語
cv210
cxcore210
highgui210
把Image.jpg
freeglut.dll
檔案都放在同一個資料夾
(C)把Image.jpg複製C:\users\USER\Desktop\freeglut\bin
目的:專案設定好建出exe檔
ToDo:自己的專案自己做
(A)File-New-Project選又上貝殼
(B)Copy程式碼進去
(C)設定
(1)Include目錄
C:\users\USER\Desktop\freeglut\include
C:\OpenCV2.1\include
(2)Lib目錄
C:\users\USER\Desktop\freeglut\lib
C:\OpenCV2.1\lib
(3)Linker咒語
cv210
cxcore210
highgui210
freeglut
opengl32
gli32
gui32
winmm
把Image.jpg
freeglut.dll
copy到同一目錄
opengl32
gli32
gui32
winmm
把Image.jpg
freeglut.dll
copy到同一目錄





























沒有留言:
張貼留言