Ask Your Question

Problem with OpenCV3.0 and Qt creator

asked 2014-10-22 11:31:41 -0600

elone gravatar image

updated 2014-10-22 11:54:10 -0600

Hello, I need to use OpenCV with Qt creator, and need some help with OpenCV.

My problem occurs when I run any example or .exe made with OpenCV, after I install OpenCV with CMake(and checking WITH_QT in the process).

For example with the examples included in the installation, when I try to open one I get the following error:

image description

That says: Procedure entry point not found in the dynamic links library

My S.O. is Windows 8.1, 64 bits

I have tried to reinstall Qt and install differents versions, but the error is the same ever.


edit retag flag offensive close merge delete


Mmm not sure if I am right but it might be a Windows Path problem

Doombot gravatar imageDoombot ( 2014-10-22 13:19:38 -0600 )edit

If anyone came here thinking it was on Linux, maybe this post might help:

Rodrigo Berriel gravatar imageRodrigo Berriel ( 2014-11-03 10:35:03 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-10-22 16:35:38 -0600

This error tell you that Windows can find the DLL (here libopencv_highgui300.dll), but there is some functions missing in this DLL (transform_reset()). So I think the DLL was build with a different version of OpenCV than cpp_exemple_convexhull.exe. Maybe you unchecked "build example" in CMake? I suggest you to delete the folder C:/Qt/OPENCV_BUILD/install, rebuild the solution, and try again...

edit flag offensive delete link more


Yes that is more plausible than my answer, given that "Procedure entry point not found".

Doombot gravatar imageDoombot ( 2014-10-23 07:04:39 -0600 )edit

answered 2014-10-22 13:18:05 -0600

Doombot gravatar image

Well, it could be that the folder including your .dll is not included in the Windows "Path".

What you need to do is to click here: image description

image description

image description

So you need to add the path of a folder containing the dll. For example:

image description

Should do it!

edit flag offensive delete link more


Thanks for your answer, but the error remains. I have the paths correctly in environment variables, also I try to paste libopencv_highgui300.dll into the samples directory, but the error is the same.

I am very confused, because in my other laptop(with windows 8) I dont get this error (this laptop is not valid for my work)

elone gravatar imageelone ( 2014-10-22 16:33:55 -0600 )edit

Question Tools


Asked: 2014-10-22 11:31:41 -0600

Seen: 1,361 times

Last updated: Oct 22 '14