Ask Your Question
0

Windows 64 bit builds

asked 2017-07-07 03:28:56 -0600

Hi,

I am having some trouble with the v. 3.2.0 prebuilt distribution for windows.

I have downloaded from the link:

https://sourceforge.net/projects/open...

as referenced on the page: http://opencv.org/releases.html

The contents of the x64 folder appear to be incomplete, and I get linking errors when trying to use it.

I noticed that for example, opencv\build\x64\vc14\lib _only_ contains

OpenCVConfig-version.cmake, OpenCVConfig.cmake, OpenCVModules-debug.cmake, OpenCVModules-release.cmake, OpenCVModules.cmake, opencv_world320.lib, opencv_world320d.lib

and \opencv\build\x64\vc14\bin contains

opencv_annotation.exe, opencv_createsamples.exe, opencv_ffmpeg320_64.dll, opencv_traincascade.exe, opencv_version.exe, opencv_visualisation.exe, opencv_world320.dll, opencv_world320d.dll

whereas these folders for the 64 bit build in v. 2.4.13.2 contain a much larger number of libraries (and I have no problems linking and running examples with this build).

Can anyone advise on where/how to get a working 64 bit build for 3.2.0?

Cheers,

Steve.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-07-07 03:41:41 -0600

berak gravatar image
  • the opencv3 version only needs a single opencv_world320.lib (just link that, and nothing else, it contains all others), while the 2.4 version has many, "all seperate" libs like opencv_core2413.lib, etc.

  • all of those are for VS2015, 64bit ONLY, so if you have a different ide/compiler/os, you'll have to build libraries from scratch, using cmake , andyoucan decide, if you want an "all-in-one" or seperate libs by toggling cmake -DBUILD_opencv_world=ON (or OFF)

edit flag offensive delete link more

Comments

Thanks very much for the information. I was confused by the differences in internal structures between the two versions.

Steve.

SteveMiller gravatar imageSteveMiller ( 2017-07-10 03:39:32 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-07-07 03:28:56 -0600

Seen: 1,160 times

Last updated: Jul 10 '17