opencv3.0 vs2015属性表

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了opencv3.0 vs2015属性表相关的知识,希望对你有一定的参考价值。

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="PropertySheets" />
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <IncludePath>C:\opencv\build\include;C:\opencv\build\include\opencv;C:\opencv\build\include\opencv2;$(IncludePath)</IncludePath>
  </PropertyGroup>
  <PropertyGroup>
    <LibraryPath>C:\opencv\build\x86\vc12\lib;C:\opencv\build\x86\vc12\staticlib;$(LibraryPath)</LibraryPath>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <Link>
      <AdditionalDependencies>opencv_ts300.lib;opencv_world300.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup />
</Project>

与以往需要添加长长的一串lib不同,vs2015只需要添加opencv_ts300.lib;opencv_world300.lib这两个lib。

以上是关于opencv3.0 vs2015属性表的主要内容,如果未能解决你的问题,请参考以下文章

VS2015+win10+opencv3.0整个安装过程

VS2015+Opencv3.2+QT5.8配置(一次配好)

VS2012 配置 OpenCV3.0

VS2013怎么配置opencv才能不用每次都重新配置一遍

VS2013配置 OpenCV3.0实测有效

在win10下给vs2013配置opencv3.0