Step 1 . 解壓縮Earth.zip 和 freeglut

Step 2. 安裝Open.CV (記得加路徑)
Step 3. 將glut下的檔案複製到C槽的Open.CV資料夾裡

Step 4. 下載一張Earthmap的圖片,並取名為image

Step 5. 執行Earth.exe

Homework 2
Step 1. 打開Earth的專案
Step 2. 設定檔案 ( 點選 Build Option)

Step 3. 先設定 Compiler ( Include 目錄)
(1) freegult 的檔案位置
(2) OpenCV2.1\include 的檔案位置

Step 4. 設定 Link (Lib 目錄 )
(1)freegult的Lib目錄
(2)OpenCv.21\lib的檔案位置

Step 5. Linker 設定
(1) cv210
(2)cxcore210
(3)highgui210

Step 6. 執行檔案

HomeWork 3
建立自己的專案
Step 1. 開新的貝殼專案
Step 2. 設定 Build Option
Step3. 設定Include 目錄 (Compiler)

Step4. 設定Lib目錄 (Link)

Step5. 設定Linker
增加以下
(1) freeglut
(2) opengl32
(3)glu32
(4)gdi32
(5)winmm
(6)cv210
(7)cxcore210
(8)highgui210
Step6. 將image放在資料夾裡

Step7.執行檔案-完成

沒有留言:
張貼留言