作業一
解壓縮Earth.zip 和 freeglut
安裝Open.CV (加路徑)
將glut下的檔案複製到C槽的Open.CV資料夾裡
下載一張Earth map的圖片,取名image
執行Earth.exe
作業二
打開Earth的專案
設定檔案 ( 點選 Build Option)
先設定 Compiler ( Include 目錄)
(1) freegult 的檔案位置
2) OpenCV2.1\include 的檔案位置
設定 Link (Lib 目錄 )
Linker 設定
執行檔案
作業三
開新的貝殼專案
設定 Build Option
設定Include 目錄 (Compiler)
設定include目錄
(1)freeglut.include位置
(2)c:\opencv2.1\include
設定link
cv210、cxcore210、highgui210、freeglut、opengl32、glu32、gdi32、winmm
執行


















沒有留言:
張貼留言