Skip to content

Instantly share code, notes, and snippets.

@skishida
Created July 3, 2017 05:15
Show Gist options
  • Save skishida/8ed1f0f2db79fdafe7b9082221bfd2b4 to your computer and use it in GitHub Desktop.
Save skishida/8ed1f0f2db79fdafe7b9082221bfd2b4 to your computer and use it in GitHub Desktop.
OpenCV2 and Kinect v2 settings for Visual Studio project
<!-- this gist is public domain -->
<?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">
<ovckinect />
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup>
<Link>
<AdditionalDependencies>Kinect20.lib;opencv_world320.lib;opencv_world320d.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409\Lib\x64;C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409\inc;C:\dev\opencv\build\x64\vc14\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<ClCompile>
<AdditionalIncludeDirectories>C:\dev\opencv\build\include;C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="ovckinect">
<Value>$(ovckinect)</Value>
</BuildMacro>
</ItemGroup>
</Project>
@skishida
Copy link
Author

skishida commented Jul 3, 2017

  • KinectV2 SDK
    • version: 2.0.1410.19000
    • Installed Location: C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409 macro:$(KINECTSDK20_DIR)
  • OpenCV
    • version: 3.2.0
    • Installed Loaction: C:\dev\opencv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment