2016年4月25日 星期一

Week10

課堂(1)
跑my earth
1.下載open CV2.1_vs2008.exe
http://opencv.org/downloads.html
執行openCV
2.解開myEarth.zip freeglut.zip
下載image圖檔(自己下載)
3.把freeglut.dll加入myEarth
freeglut.dll  (freeglut-MinGW-2.8.1-1.mp\freeglut\bin)

執行


課堂(2)
執行自己的exe
設定路徑      專案左鍵-Buid Options
1.include
Search directories/compiler加入freeglut\include和openCv2.1\include

2.lib
Search directories/Linker加入freeglut\lib和openCV\lib

3.dll
Linker settings/Link libraries加入cv210 cxcore210 highugi210

完成執行

課堂(3)
開新專案Consoleapplication
複製程式碼
設定路徑

只有dll不一樣要加比較多咒語
Linker settings/Link libraries加入cv210 cxcore210 highugi210 freeglut
opengl32 glu32 gdi32 winmm



沒有留言:

張貼留言