2010-01-28

OpenCV 1.0 编译错误

http://hi.baidu.com/greatsea/blog/item/66dbaa1f34e36bf1e1fe0b60.html/cmtid/2f610c4ed707cc05b3de05c5
编译cvaux错误:error C2039: 'foreground_regions' : is not a member of 'CvFGDStatModel
在cvaux.h文件中,

搜索关键字foreground_regions,

第1137行
CvMemStorage* storage; /*storage for �oreground_regions?/ \
CvSeq* foreground_regions /*foreground object contours*/

改为如下形式:

CvMemStorage* storage; /*storage for foreground_regions*/ \
CvSeq* foreground_regions /*foreground object contours*/

No comments: