赞
踩
问题:vs2013下使用opencv1.0,include”cvaux.h”后,报错Error 3 error C4996: ‘strdup’: The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details. g:\opencv1.0\opencv\cvaux\include\cvvidsurv.hpp 189 1 energy
解决:修改cvvidsurv.hpp源码,将所有报错的地方前加下划线strdup改为_strdup,注意147行,将cv_XXX改为_XXX
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。