在VS2013下运行,opencv已配置,但是无法打开"cvx_defs.h",这是什么原因??

时间:2022-11-14 12:05:37
在VS2013下运行,opencv已配置,但是无法打开"cvx_defs.h",这是什么原因??

4 个解决方案

#1


cvx_defs.h找不到
原因可能是没有准确配置opencv,导致库找不到,
正确配置opencv要配置包含目录,库目录,修改环境变量等,过程网上有

#2


我用的是opencv3.0,文件里面找不到cvx_defs.h,我运行其他程序都是可以的,只有这个出现这种问题,opencv的配置是没有问题的。

#3


仅供参考:
C:\OpenCV31\opencv\build\include\opencv2\core\cvdef.h
C:\OpenCV31\opencv\build\include\opencv2\flann\defines.h
C:\OpenCV31\opencv\sources\3rdparty\zlib\deflate.h
C:\OpenCV31\opencv\sources\modules\core\include\opencv2\core\cvdef.h
C:\OpenCV31\opencv\sources\modules\core\include\opencv2\core\opencl\ocl_defs.hpp
C:\OpenCV31\opencv\sources\modules\core\include\opencv2\core\opencl\runtime\opencl_svm_definitions.hpp
C:\OpenCV31\opencv\sources\modules\flann\include\opencv2\flann\defines.h
C:\OpenCV31\opencv\sources\modules\shape\src\scd_def.hpp
C:\OpenCV31\opencv\sources\modules\shape\src\emdL1_def.hpp

#1


cvx_defs.h找不到
原因可能是没有准确配置opencv,导致库找不到,
正确配置opencv要配置包含目录,库目录,修改环境变量等,过程网上有

#2


我用的是opencv3.0,文件里面找不到cvx_defs.h,我运行其他程序都是可以的,只有这个出现这种问题,opencv的配置是没有问题的。

#3


仅供参考:
C:\OpenCV31\opencv\build\include\opencv2\core\cvdef.h
C:\OpenCV31\opencv\build\include\opencv2\flann\defines.h
C:\OpenCV31\opencv\sources\3rdparty\zlib\deflate.h
C:\OpenCV31\opencv\sources\modules\core\include\opencv2\core\cvdef.h
C:\OpenCV31\opencv\sources\modules\core\include\opencv2\core\opencl\ocl_defs.hpp
C:\OpenCV31\opencv\sources\modules\core\include\opencv2\core\opencl\runtime\opencl_svm_definitions.hpp
C:\OpenCV31\opencv\sources\modules\flann\include\opencv2\flann\defines.h
C:\OpenCV31\opencv\sources\modules\shape\src\scd_def.hpp
C:\OpenCV31\opencv\sources\modules\shape\src\emdL1_def.hpp

#4