選擇有 VC2008 的那一個載點
2.接著開啟 codeblocks 的一個新的 project
這次是要開console Application
它在右上角有一個貝殼的圖案
3.再來到 project 的 build object
4.build object 中設定 Search directoris 的 compiler 按 Add 增加 c:\opencv2.1\include
5.再來到 Linker 中也是按 Add 增加 c:\opencv2.1\lib
cxcore210
highgui210
7.要把今天一開始下載的 openCV2.1 的檔案夾打開 , 找到 bin 資料夾打開 , 把cv210.dll
cxcore210.dllhighgui210.dll
的檔案複製並貼到一開始專案的資料夾中 , 如同下下張圖
8.再來再打開 build object 中 Linker settings 加入 freeglut
opengl32
glu32
gdi32
winmm
沒有留言:
張貼留言