2016年4月25日 星期一

BOZC Week10

课堂作业:

(一)Run earth.exe

1.下载openCV2.1 vs2008.exe
安装(add path)



2.解压缩 myEarth.zip
放入 image.jpg(自己找earth map)
改名为image.jpg
执行earth.exe.









(二)执行自己的exe

1.在project->build options->search directions->add
加入两个路径:



2.在linker内加入:



3.在linker setting内加入:



4.编译后将debug内的程序取代外面的earth.exe
并将image.jpg复制到freeglut->bin
全部完成后 运行。



(三)创建自己的档案







沒有留言:

張貼留言