Ask Your Question
0

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

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

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 https://github.com/Itseez/opencv.git

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
4

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

Tetragramm gravatar image

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

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

Comments

Thank you, Tetragramm! It works!

using gravatar imageusing ( 2016-04-19 16:34:10 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 652 times

Last updated: Apr 19 '16