这是我的第二篇文章,关于上次再配置中发现的debug和release的依赖项总是保持一致的情况,这与我们按照要求配置的情况是不符合的,但是我使用却没有发现什么问题。现在我发现如何进行修改了,请看下面步骤。
1、先找到这个页面,点击“活动Debug”,按钮,通过这个附加依赖项。
2.点击“配置”,切换到“
Release”,然后附加属于release的依赖项。
按照这个步骤做,就可以进行更改了,我第一次不能按照教程上配置的时候,我很郁闷,想了很久都没办法,也问了很多人,也不能解决。接下来是给大家附上debug和release的依赖项。
Debug的依赖项:
opencv_calib3d249d.lib
opencv_contrib249d.lib
opencv_core249d.lib
opencv_features2d249d.lib
opencv_flann249d.lib
opencv_gpu249d.lib
opencv_haartraining_engined.lib
opencv_highgui249d.lib
opencv_imgproc249d.lib
opencv_ocl249d.lib
opencv_photo249d.lib
opencv_legacy249d.lib
opencv_ml249d.lib
opencv_nonfree249d.lib
opencv_objdetect249d.lib
opencv_stitching249d.lib
opencv_superres249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_videostab249d.lib
opencv_contrib249d.lib
opencv_core249d.lib
opencv_features2d249d.lib
opencv_flann249d.lib
opencv_gpu249d.lib
opencv_haartraining_engined.lib
opencv_highgui249d.lib
opencv_imgproc249d.lib
opencv_ocl249d.lib
opencv_photo249d.lib
opencv_legacy249d.lib
opencv_ml249d.lib
opencv_nonfree249d.lib
opencv_objdetect249d.lib
opencv_stitching249d.lib
opencv_superres249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_videostab249d.lib
Release的依赖项:
opencv_calib3d249.lib opencv_contrib249.lib opencv_core249.lib opencv_features2d249.lib opencv_flann249.lib opencv_gpu249.lib opencv_haartraining_engined.lib opencv_highgui249.lib opencv_imgproc249.lib opencv_ocl249.lib opencv_photo249.lib opencv_legacy249.lib opencv_ml249.lib opencv_nonfree249.lib opencv_objdetect249.lib opencv_stitching249.lib opencv_superres249.lib opencv_ts249.lib opencv_video249.lib opencv_videostab249.lib
原文链接:/javaschema/285475.html