Ask Your Question
0

Compiling OpenCV with Cmake, Unable to locate dlls and pdbs

asked 2014-02-15 12:55:45 -0600

hassan gravatar image

updated 2014-02-15 17:16:32 -0600

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-02-15 16:39:49 -0600

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.

edit flag offensive delete link more

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 ( 2014-02-16 04:33:12 -0600 )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 ( 2014-02-16 05:39:38 -0600 )edit

Question Tools

Stats

Asked: 2014-02-15 12:55:45 -0600

Seen: 464 times

Last updated: Feb 15 '14