2016年4月26日 星期二

Week 10 林育廷

課堂作業一 :

主軸 : 貼圖-Run EXE

(A) 解壓 my Earth.zip 取出exe檔
       

(B) 裝openCV2.1 vs2008.exe ★小心 : Add PATH


(C) freeglut\bin\freeglut.dll解,放在同一目錄中

(D) Google:earth map 存成 umage.jpg


(E) 執行 myEarth.exe


目的 : 布署Deplay dll vs exe

課堂作業二 :

主軸 : 貼圖-Build EXE (自己的exe自己做)

(A) 有專案檔 myEarth.cbp
      有 source  main,cpp



(B) 設好3個重點

      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. Linker咒語
          cv210
          cxcore210
          highgui210



(C) 把Image.jpg 複製到 C:\users\user\Desktop\freeglut\lib



執行結果



目的 : 專案設定好,建出exe檔

課堂作業三 :

主軸 : 貼圖 - 0-----> EXE (自己的專案自己建)

(A) File-New-Progect 選取貝殼專案



(B) Copy 程式碼進去



(C) 設好3個重點

      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. Linker咒語
          cv210
          cxcore210
          highgui210
          freeglut
          opengl32
          glu32
          gdi32
          winmm



(D) 把Image.jpg freeglut.dll  copy到同一目錄



執行結果 :






















沒有留言:

張貼留言