cvaux :error C2039: 'foreground_regions' : is not a member of 'CvFGDStatModel

在cvaux.h文件中,
搜索关键字foreground_regions,

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

改为如下形式:

CvMemStorage* storage; /*storage for foreground_regions */ \
CvSeq* foreground_regions /*foreground object contours*/
 
注释掉了代码,唉。怎么这么不小心。

你可能感兴趣的:(职场,编译错误,休闲,cvaux)