Ask Your Question

How to build OpenCV 3.1.0 from github in Visual Studio 2015 x64 Windows10

asked 2016-04-19 16:05:45 -0500

using gravatar image

Hi Guys!

Please tell me how to build OpenCV 3.1.0 from github in Visual Studio 2015 to x64.

I used git clone

and then use Cmake with default setting

after that in Visual Studio there is only one аctive platform - Win32 without any other options.

So after building we can see only x86 directory in install directory.

I tried also make a new platform - x64 and then during building error LNK1112 appears.

Maybe is anywhere guide how to do it?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-04-19 16:12:38 -0500

Tetragramm gravatar image

updated 2016-04-19 16:17:50 -0500

In CMake, you need to create a new project using the x64 compiler. It should be the next item down the menu.

image description

edit flag offensive delete link more


Thank you, Tetragramm! It works!

using gravatar imageusing ( 2016-04-19 16:34:10 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-04-19 16:05:45 -0500

Seen: 224 times

Last updated: Apr 19 '16