C++ OpenCV 中的 vc10、vc11 和 vc12 库有什么区别?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31188859/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 13:52:49  来源:igfitidea点击:

What is the difference between vc10, vc11 and vc12 libraries in OpenCV?

c++opencv

提问by Bowecho

I am using OpenCV 2.4.11 and I have 2 folders x64 and x86 both containing vc10, vc11 and vc12 folders, each containing lib folders with the libraries. The libraries look pretty much the same in all folders, with some small differences in size. Firstly, what is the difference between the x64 and x86 folders? Secondly, what is the difference between the vc10, vc11 and vc12 libraries?

我正在使用 OpenCV 2.4.11 并且我有 2 个文件夹 x64 和 x86,它们都包含 vc10、vc11 和 vc12 文件夹,每个文件夹都包含带有库的 lib 文件夹。这些库在所有文件夹中看起来几乎相同,只是大小略有不同。首先,x64 和 x86 文件夹有什么区别?其次,vc10、vc11和vc12库有什么区别?

回答by Casey

They are different builds for each version of Microsoft's Visual Studio compiler.

对于 Microsoft 的 Visual Studio 编译器的每个版本,它们都是不同的版本。

  • vc16: The compiler packaged with Visual Studio 2019
  • vc15: The compiler packaged with Visual Studio 2017
  • vc14: The compiler packaged with Visual Studio 2015
  • vc12: The compiler packaged with Visual Studio 2013
  • vc11: The compiler packaged with Visual Studio 2012
  • vc10: The compiler packaged with Visual Studio 2010
  • vc16:Visual Studio 2019 打包的编译器
  • vc15:Visual Studio 2017 打包的编译器
  • vc14:Visual Studio 2015 打包的编译器
  • vc12:Visual Studio 2013 打包的编译器
  • vc11:Visual Studio 2012 打包的编译器
  • vc10:Visual Studio 2010 打包的编译器

回答by thmoa

It refers to Visual C++ version used for the build. x64 and x86 is the chip architecture 64 vs 32 bit.

它指的是用于构建的 Visual C++ 版本。x64 和 x86 是 64 位与 32 位的芯片架构。

回答by C_Raj

It refers to MS visual stdio version https://en.wikipedia.org/wiki/Microsoft_Visual_Studio

它指的是 MS Visual stdio 版本 https://en.wikipedia.org/wiki/Microsoft_Visual_Studio

wiki screenshot

维基截图