Ask Your Question

Compiling OpenCV with Cmake, Unable to locate dlls and pdbs

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

hassan gravatar image

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

berak gravatar image

Hi, I'm trying to compile OpenCV 2.4.8 with VS 2013 with cmake, using the official guide (

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

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

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


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 -0500 )edit

Yes, it is because if you downloaded source code from, 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 -0500 )edit
Login/Signup to Answer

Question Tools


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

Seen: 280 times

Last updated: Feb 15 '14