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

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

改为如下形式:

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