解開myEarth.zip
把earth map圖檔
放入myEarth資料夾
執行myEarth.exe
即可看到地球旋轉

2. 打開myEarth 的project file
左鍵build option
search directories compiler C:\OpenCV2.1\include
linker C:\OpenCV2.1\lib
linker settings cv210
cxcore210
highgui210
再把image.jpg放入freeglut資料夾的bin

3. 打開console application專案
加入build options的設定
compiler freeglut\include

compiler freeglut\lib

linker settings
cx210, cxcore210, highgui210, freeglut, opengl32, glu32, gdi32, winmm

在project file中加入image.jpg和freeglut.dll
沒有留言:
張貼留言