Ask Your Question
0

Compiling OpenCV with Cmake, Unable to locate dlls and pdbs

asked Feb 15 '14

hassan gravatar image

updated Feb 15 '14

berak gravatar image

Hi, I'm trying to compile OpenCV 2.4.8 with VS 2013 with cmake, using the official guide (http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html).

However, when I build the OpenCV solution, I'm unable to find the created dlls and pdbs. Can anybody guide me as to where these files might be?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Feb 15 '14

Usually, the .dll and .pdb files will be located in the build\bin\<build mode=""> folder where <build mode=""> can be Debug or Release. And after you build the Install project, all the files will be copy to build\install\<platform>\<vc version="">\bin folder where <platform> can be x86 ..., and <vc version=""> can be vc10, vc11, vc12, these values depend on the versions of Windows and Visual C++ you use.

Preview: (hide)

Comments

Ok, I found them. Thanks. But I noticed that they are labelled as "opencv_core300d.dll". Why is the version being shown as 3.0.0 when I downloaded 2.4.8?

hassan gravatar imagehassan (Feb 16 '14)edit
1

Yes, it is because if you downloaded source code from https://github.com/itseez/opencv, the default branch is development version (3.0.0-dev). You must select branch 2.4 in order to have 2.4.8 version.

tuannhtn gravatar imagetuannhtn (Feb 16 '14)edit

Question Tools

Stats

Asked: Feb 15 '14

Seen: 505 times

Last updated: Feb 15 '14