開啓texture程式
要add PATH!!!
然後重開CodeBlocks
開Setting-Compiler
在Search directories
Compiler Add C:\OpenCV2.1\include
Linker Add C:\OpenCV2.1\lib
在Linker Settings Add cv210,cxcore210,highgui210
再輸入程式(檔名改成.cpp)
到老師的程式倉庫複製myTexture
再把世界地圖改成earth.jpg下載到freeglut\lib裏面
把myEarth.jpg改成Earth.jpg
沒有留言:
張貼留言