Laex / Delphi-OpenCV

Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
500 stars 226 forks source link

Error code: 126 - The specified module could not be found #157

Open diamond94618 opened 1 year ago

diamond94618 commented 1 year ago

My development environments are like below OS -> Win 11 pro Dev Tool -> Rad Studio XE2 Currently I have perfomed installation process by readMe Finally I have launched C:\Delphi-OpenCV\CheckCVDep\CheckCVDep.exe to verify dependencies. Of course I have copied all dependency librarys(dll) to system32 and syswow64. But I faced verifying errors image I already confirmed issue dlls are located in correct folders(system32, syswow64) image What is the problem? plz help me.

Laex commented 1 year ago

If you have Win 11 x64 - check the copy opencv\build\x64\vc14\bin*.dll -> C:\windows\system32\ opencv\build\x86\vc14\bin*.dll -> C:\windows\ SysWOW64\

Or put the necessary dlls next to your program

diamond94618 commented 1 year ago

If you have Win 11 x64 - check the copy opencv\build\x64\vc14\bin.dll -> C:\windows\system32 opencv\build\x86\vc14\bin.dll -> C:\windows\ SysWOW64\

Or put the necessary dlls next to your program

I think I copied all fils correctly. image plz check my screenshot.

diamond94618 commented 1 year ago

I have resolved this problem. It was related with OS. On Win 7 system this process was worked correctly. I hope my experience will help guys.