OpenCV, Static Library, Visual Studio

OpenCV, Static Library, Visual Studio

OpenCV Static Library Visual Studio (C++)

updated : July 2022

1. install the NuGet packages for OpenCV 5 (pre-release) Static Library for Visual Studio 2019 and 2022

Visual Studio 2019

https://www.nuget.org/packages/OpenCV5_StaticLib_VS2019_NuGet Install-Package OpenCV5_StaticLib_VS2019_NuGet -Version 2022.7.7

Visual Studio 2022

https://www.nuget.org/packages/OpenCV5_StaticLib_VS22_NuGet Install-Package OpenCV5_StaticLib_VS22_NuGet -Version 2022.7.7

2. Config your visual studio project

  • set your project to "Release" and "x64"
  • right click on your project name in "solution explorer" and click on "properties" the select "Configuration Properties"-> "C/C++" -> "Code Generation" and then from right "Runtime Library"-> "Multi-Threaded (/MT)

now you can compile your OpenCV project without copy and OpenCV DLL into your project on other system.




How to install and config your OpenCV project by using NuGet package manager for visual studio

#OpenCV #Farshid_PirahanSiah #tiziran

more: https://www.tiziran.com/topics/opencv

要查看或添加评论,请登录

Dr. Farshid PirahanSiah的更多文章

社区洞察

其他会员也浏览了