Ask Your Question

OpenCV 3.1 x64 libs for visual studio 2015

asked 2016-01-05 06:45:29 -0500

pdelaossa gravatar image

I get the impression that I'm missing the elephant in the room here.

In OpenCV 3.0 there's only the libs for previous visual studios.

In OpenCV 3.1 there are no libs (other than world310) in "build/x64/vc14/lib", and I can only build x86 libraries with the cmake'd solution in sources.

Where can I find the x64 libraries that work with vc14?

I already tried using the ones provided in OpenCV 3.0 for previous VS versions, but the linker gives errors most likely related to incompatibility issues.

Thanks in advance.

edit retag flag offensive close merge delete


I am having the same issue. How did you resolve it?

skypickle gravatar imageskypickle ( 2016-04-04 23:36:53 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-05-29 01:56:41 -0500

I spent a couple of weeks tearing my hair out because I was trying to follow various tutorials but OpenCV wasn't installing a build\x64\vc14 folder. Finally the penny dropped... THE VERSION OF WINDOWS IS IMPORTANT.

OpenCV install assumes that if you're using outdated Windows 7 that you must be using an old Visual Studio too; and only creates the vc14 folder if you're running Windows 10.

My solution is to create a Virtual PC (mine in Virtualbox) running Windows 10, Visual Studio 2015 community and OpenCV 3.1. Fingers crossed.

edit flag offensive delete link more


I built OpenCV 3.1 (latest source from github) with VS 2015 update 2 on Windows 7 SP1 64 bit and had no error. TBB and Eigen were also used.

tuannhtn gravatar imagetuannhtn ( 2016-06-27 05:15:10 -0500 )edit

answered 2016-01-05 10:30:08 -0500

The answer is simple: just build it yourself. From my experience, there is no difference in building Opencv 3.1 x64 and that of Opencv 3.0 with VS 2015. But since I encountered errors with VS 2015 RTM, you should upgrade to VS 2015 update 1 before doing that. Good luck.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-01-05 06:44:10 -0500

Seen: 2,160 times

Last updated: Jan 05 '16