2016年4月26日 星期二

Week 10 張歆

作業1
先執行exe.
(A)解壓myEarth.zip,取出exe檔


(B)裝OpenCV2.1,選Add PATH

(C) freeglut 解壓縮後將 freeglut.dll 圖片image.jpg都放進同一目錄中


開啟myEarth.exe


作業2
(A)有專案檔 myEarth.cbp 和 source main.cpp

(B)設好3個重點
(右鍵)-Build Options...


(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)咒語
CV210
CXCore210
highgui210
(C)把Image"複製"
C:\Users\USER\Desktop\\freeglut\bin



作業3
(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)咒語

cv210
cxcore210
highgui210
freeglut
opengl32
glu32
gdi32
winmm
將freeglut.dll和image.jpg複製到資料夾





沒有留言:

張貼留言