What does "vc14_vc15" mean in opencv-4.6.0-vc14_vc15.exe?

I'm trying to download a windows pre-built binary of Opencv, and from I see a file named opencv-4.6.0-vc14_vc15.exe.

What does vc14_vc15 mean here? vc14 I guess it's VS2015, then vc15 is VS2017, but what's the point to list vs versions as to opencv binaries?

If the binary is compiler version specific, why not separate it into vc14 and vc15? Are they compatible? if it's compatible, why not just say vc15?

Can I use vs 2019/2022 to create a project and link to this version?

Can I use gcc (on windows of course) to compile a project and link to this version?

I'm really confused.

Thanks.

2

1 Answer

I dont know why they provide vc14 and vc15, but you can use them with recent version of visual studio. See the official compatibility doc

To sum up what is said in the documentation:

  • ABI compatibility is respected since visual studio 2015
  • You need to use the linker used by the most recent binary you use

And I highly doubt you can use them with gcc on windows

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like