Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Tutorial test fails. W7 problem?

Tutorial test fails. W7 problem?

Hello

I am trying to set up opencv following the tutorial and I get an error. Well, I get more errors, but I cannot solve this.

I have installed on my computer:

  • windows 7 pro 64 bits sp1
  • Visual Studio 2017 community 15.6.7
  • ipp 2018.2.185

Following the installation tutorial I have chosen "Installation by Using git-bash (version>=2.14.1) and cmake (version >=3.9.1)"

I think that I have got ocv 4.0.0

I have built the library, setup vs2017 and try to test it with the sample code that comes with the tutorial.

https://docs.opencv.org/master/dd/d6e/tutorial_windows_visual_studio_opencv.html

I have built the sample program, but I get a runtime error:

No se encuentra el punto de entrada del procedimiento MFCreateDXGIDeviceManager en la biblioteca de vínculos dinámicos MFPlat.DLL

Something like:

MFCreateDXGIDeviceManager procedure entry point not found in MFPlat.DLL

I get this error before executing my first line of code and after drawing the console window.

If I comment every line related to cv:: (Mat, imread, namedWindow, imshow and waitKey) I get no error.

I have found in the internet that MFCreateDXGIDeviceManager is for w8 and higher and I am using w7, so I think that this could be the problem, I need libs for w7 but I don´t know how to set up to use them.

I have looked for MFCreateDXGIDeviceManager, MFPlat.DLL, windows 7 and w7 in the q&a but have found no entries for the first 2, and a few non related entries for the last 2.

Can anyone please help me?

Thanks in advance.