1-1解壓縮myEarth.zip取出exe檔
1-2安裝OpenCV2.1vs2008.exe(*Add PATH)
1-3解壓縮freeglut-MinGW-2.8.1-1.mp.zip 將freeglut.dll放在同一目錄中
1-4Google(image):Earth map 將圖另存為image.jpg
完成圖:
課堂作業2 Build EXE
專案檔(myEarth.cbp) source(main.cpp)


include目錄

lib目錄

複製檔案到C:\Users\USER\Desktop\freeglut\bin
完成圖:
課堂作業3 開啟自己的專案檔
一樣要改build options的設定
include
C:\users\user\Desktop\freeglut\include
C:\OpecCV2.1\include
lib
C:\users\user\Desktop\freeglut\lib
C:\OpecCV2.1\lib
linker:


沒有留言:
張貼留言