2016年4月25日 星期一

WEEK10

-課堂作業1-
跑myEarth


下載OpenCV2.1_vs2008.exe->安裝(Add PATH)


解壓縮myEarth.zip與freeglut
 ->放入 image.jpg(上網找圖片)
 ->放入 freeglut.dll


執行MyEarth.exe


-課堂作業2-

打開MyEarth.cbp
->build option
->打咒語(linker settings)
cv210
cxcore210
highgui210


->加入路徑(Search directions) 
打完後add出現一個視窗要按否
->Compiler


->Linker


完成後執行

-課堂作業3-
開新的貝殼專案
->選擇C++
->把原本的程式碼都3掉
->複製貼上剛剛MyEarth.cbp的程式碼
->一樣打咒語跟加路徑
但咒語多了
freeglut
opengl32
gdi32
winmm
glu32



->把剛剛的image.jpg與freeglut.dll放入這個新專案的資料夾
->完成後執行

沒有留言:

張貼留言