Open kanonet opened 4 years ago
I tried some older versions of the mingw-opencv packages. Those did work for me in the past, but now they produce the same error as mentioned above. So maybe the problem is not related to the opencv package, but more general related to the run time environment?
The issue occurs both, on updated old MSYS2 and on freshly installed one. To reproduce it simply install opencv and run:
python -c "import cv2"
(see above)
@kanonet Looks like the link is broken to libProtobuf.
The problem is not solved yet, it still exists!
Others also posted about the same problem: https://github.com/msys2/MINGW-packages/issues/6589 https://github.com/msys2/MINGW-packages/issues/6612#issuecomment-657150157 https://github.com/msys2/MINGW-packages/issues/6704
Can one of the maintainers please look into this and tell us what additional information you need? @Alexpux @lazka or others?
Hi, @kanonet
Try to download OpenCV PKGBUILD from Msys2 package git, and re-build the package, you'll fix it.
I did just this, see the starting post. Yes this fixes it for me, just as I described, but this is no general solution. MSYS2 should deliver a working package. Maybe a rebuild is enough, maybe more work is to do... I dont know, the maintainers have to look into this and tell us. BTW OpenCV 4.4 is out, so its time to check this package again and hopefully fix it.
This Issue is resolved now. Thank you lazka for working on this! The other Issues that reported the same problem (see above) can probably also get closed now.
I am sorry, but I have to reopen this issue. Importing OpenCV in Python failes again, just like reported in my opening post on this issue. Example:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: DLL load failed while importing cv2: Das angegebene Modul wurde nicht gefunden.
This issue was reoccuring several times in the past, after updating other packages that OpenCV probably depends on. Most times I did not report it here, since I could fix it on my side by rebuilding, till by a new package was shiped by msys2. But this time building the package by myself does NOT fix it. Currently I have no Idea what was the cause and how to fix it. Could someone please look into this?
OpenCV-Python (cv2-cpython-38.dll) imports OgreMain.dll which in turn tries to import libzzip-0.dll which does not exist. This may not be the full cause of this issue but may be a hint for someone to dig deeper. This may be related to https://github.com/msys2/MINGW-packages/issues/7244
Can anyone confirm that problem? Does anyone have an Idea how to fix this? Sorry to bother you, but @lazka could you please look into this? Is there anything I could do to help?
I have the same problem, not sure about which dll specifically.
ImportError: DLL load failed while importing cv2: \u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6a21\u5757\u3002
I'm still seeing this issue with python 3.9.7 and a freshly updated Msys2. With python -vv, I see the following error:
import cv2
...
# trying C:/msys64/mingw64/lib/python3.9/site-packages/cv2.cp39-mingw_x86_64.pyd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
File "<frozen importlib._bootstrap>", line 565, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 1173, in create_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
ImportError: DLL load failed while importing cv2: The specified module could not be found.
Interestingly, when I look at: cv2.cp39-mingw_x86_64.pyd
with Dependencies (x64). I don't see any missing dependencies. So I'm a bit perplexed. But definitely can't use OpenCV with Msys2 python at the moment.
I also have this problem.
I seem to be having this issue as well.
Experiencing the same problem as @wstnturner. Even building OpenCV from the repo like mentioned earlier failed with this message:
[ 85%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/opencv_ximgproc_main.cpp.obj
[ 85%] Linking CXX shared library ../../bin/libopencv_ximgproc452.dll
[ 85%] Built target opencv_ximgproc
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Still, I have the same issue.
$ python -c "import cv2" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: DLL load failed while importing cv2: 지정된 모듈을 찾을 수 없습니다.
I confirmed that rebuilding could fix the problem. In msys2 shell,
git clone "https://github.com/msys2/MINGW-packages"
cd mingw-w64-opencv
makepkg-mingw -sCLf
pacman -U mingw-w64-x86_64-opencv-4.5.2-4-any.pkg.tar.zst
@3togo I tried your approach, but fails at, makepkg-mingw -sCLf
==> MINGW_ARCH: mingw64
-> Building mingw64...
==> Making package: mingw-w64-opencv 4.5.5-2 (Wed May 25 17:50:43 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found opencv-4.5.5.tar.gz
-> Found opencv_contrib-4.5.5.tar.gz
-> Found 0001-mingw-w64-cmake.patch
-> Found 0002-solve_deg3-underflow.patch
-> Found 0003-issue-4107.patch
-> Found 0004-generate-proper-pkg-config-file.patch
-> Found 0008-mingw-w64-cmake-lib-path.patch
-> Found 0010-find-libpng-header.patch
-> Found 0012-make-header-usable-with-C-compiler.patch
-> Found 0014-python-install-path.patch
-> Found 0015-windres-cant-handle-spaces-in-defines.patch
-> Found 0016-use-pkgconfig-and-link-pthread.patch
-> Found 0017-fix-highgui-qt-opengl-linking.patch
-> Found 0101-somehow-uint-not-detected.patch
-> Found 0102-mingw-w64-have-sincos.patch
-> Found 0103-sfm-module-linking.patch
-> Found 0104-rgbd-module-missing-include.patch
-> Found 0105-wechat-iconv-dependency.patch
==> Validating source files with sha256sums...
opencv-4.5.5.tar.gz ... Passed
opencv_contrib-4.5.5.tar.gz ... Passed
0001-mingw-w64-cmake.patch ... Passed
0002-solve_deg3-underflow.patch ... Passed
0003-issue-4107.patch ... Passed
0004-generate-proper-pkg-config-file.patch ... Passed
0008-mingw-w64-cmake-lib-path.patch ... Passed
0010-find-libpng-header.patch ... Passed
0012-make-header-usable-with-C-compiler.patch ... Passed
0014-python-install-path.patch ... Passed
0015-windres-cant-handle-spaces-in-defines.patch ... Passed
0016-use-pkgconfig-and-link-pthread.patch ... Passed
0017-fix-highgui-qt-opengl-linking.patch ... Passed
0101-somehow-uint-not-detected.patch ... Passed
0102-mingw-w64-have-sincos.patch ... Passed
0103-sfm-module-linking.patch ... Passed
0104-rgbd-module-missing-include.patch ... Passed
0105-wechat-iconv-dependency.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting opencv-4.5.5.tar.gz with bsdtar
-> Extracting opencv_contrib-4.5.5.tar.gz with bsdtar
==> Starting prepare()...
-> Applying 0001-mingw-w64-cmake.patch
/home/akasha/MINGW-packages/mingw-w64-opencv/PKGBUILD: line 94: patch: command not found
==> ERROR: A failure occurred in prepare().
Aborting...
Any other suggestions?
@MehdiChinoune thanks for the heads up, I was able to reinstall but now I get the following error:
$ python -c "import cv2"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'cv2'
Install patch pacman -S patch
It won't work again.
$ python -c "import ctypes, os;ctypes.cdll.LoadLibrary(os.path.realpath('\msys64\mingw64\lib\python3.10\site-packages\libxml2mod.pyd'))"
$ python -c "import ctypes, os;ctypes.cdll.LoadLibrary(os.path.realpath('\msys64\mingw64\lib\python3.10\site-packages\cv2.cp310-mingw_x86_64.pyd'))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "D:/msys64/mingw64/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
return self._dlltype(name)
File "D:/msys64/mingw64/lib/python3.10/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] The specified procedure could not be found
cv2.cp310-mingw_x86_64.pyd does not have any missing dependencies. But it can't be imported by "import cv2",
$ python -c "import cv2"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: DLL load failed while importing cv2: The specified procedure could not be found.
$ cp /mingw64/lib/python3.10/site-packages/cv2.cp310-mingw_x86_64.pyd cv2.cp310-mingw_x86_64.dll
$ ldd cv2.cp310-mingw_x86_64.dll
ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd9b530000)
KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ffd997f0000)
KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ffd99050000)
msvcrt.dll => /c/WINDOWS/System32/msvcrt.dll (0x7ffd99de0000)
libgcc_s_seh-1.dll => /mingw64/bin/libgcc_s_seh-1.dll (0x7ffd93460000)
libstdc++-6.dll => /mingw64/bin/libstdc++-6.dll (0x7ffd64ee0000)
libopencv_alphamat455.dll => /mingw64/bin/libopencv_alphamat455.dll (0x7ffd901b0000)
libopencv_aruco455.dll => /mingw64/bin/libopencv_aruco455.dll (0x7ffd66430000)
libpython3.10.dll => /mingw64/bin/libpython3.10.dll (0x7ffd5d640000)
libopencv_barcode455.dll => /mingw64/bin/libopencv_barcode455.dll (0x7ffd929c0000)
libopencv_calib3d455.dll => /mingw64/bin/libopencv_calib3d455.dll (0x7ffd5c9d0000)
libopencv_bgsegm455.dll => /mingw64/bin/libopencv_bgsegm455.dll (0x7ffd7cf50000)
libopencv_ccalib455.dll => /mingw64/bin/libopencv_ccalib455.dll (0x7ffd65300000)
ADVAPI32.dll => /c/WINDOWS/System32/ADVAPI32.dll (0x7ffd99a80000)
sechost.dll => /c/WINDOWS/System32/sechost.dll (0x7ffd9b450000)
libopencv_core455.dll => /mingw64/bin/libopencv_core455.dll (0x7ffd5a5b0000)
RPCRT4.dll => /c/WINDOWS/System32/RPCRT4.dll (0x7ffd9a6d0000)
libopencv_dnn455.dll => /mingw64/bin/libopencv_dnn455.dll (0x7ffd42980000)
SHLWAPI.dll => /c/WINDOWS/System32/SHLWAPI.dll (0x7ffd9aca0000)
libopencv_dnn_superres455.dll => /mingw64/bin/libopencv_dnn_superres455.dll (0x7ffd7cc30000)
WS2_32.dll => /c/WINDOWS/System32/WS2_32.dll (0x7ffd9ac30000)
libopencv_face455.dll => /mingw64/bin/libopencv_face455.dll (0x7ffd65270000)
libopencv_flann455.dll => /mingw64/bin/libopencv_flann455.dll (0x7ffd5df00000)
libopencv_features2d455.dll => /mingw64/bin/libopencv_features2d455.dll (0x7ffd5ccf0000)
libopencv_freetype455.dll => /mingw64/bin/libopencv_freetype455.dll (0x7ffd8df30000)
libopencv_fuzzy455.dll => /mingw64/bin/libopencv_fuzzy455.dll (0x7ffd7cc00000)
libopencv_gapi455.dll => /mingw64/bin/libopencv_gapi455.dll (0x7ffd42570000)
libopencv_hdf455.dll => /mingw64/bin/libopencv_hdf455.dll (0x7ffd7cf30000)
libopencv_hfs455.dll => /mingw64/bin/libopencv_hfs455.dll (0x7ffd793d0000)
libopencv_highgui455.dll => /mingw64/bin/libopencv_highgui455.dll (0x7ffd65200000)
libopencv_img_hash455.dll => /mingw64/bin/libopencv_img_hash455.dll (0x7ffd75060000)
libopencv_imgcodecs455.dll => /mingw64/bin/libopencv_imgcodecs455.dll (0x7ffd64e60000)
libopencv_imgproc455.dll => /mingw64/bin/libopencv_imgproc455.dll (0x7ffd41f00000)
libopencv_intensity_transform455.dll => /mingw64/bin/libopencv_intensity_transform455.dll (0x7ffd74f90000)
libopencv_line_descriptor455.dll => /mingw64/bin/libopencv_line_descriptor455.dll (0x7ffd64d10000)
libopencv_mcc455.dll => /mingw64/bin/libopencv_mcc455.dll (0x7ffd5c950000)
libopencv_ml455.dll => /mingw64/bin/libopencv_ml455.dll (0x7ffd5c8b0000)
libopencv_objdetect455.dll => /mingw64/bin/libopencv_objdetect455.dll (0x7ffd5c810000)
libopencv_optflow455.dll => /mingw64/bin/libopencv_optflow455.dll (0x7ffd5c140000)
libopencv_ovis455.dll => /mingw64/bin/libopencv_ovis455.dll (0x7ffd6fcf0000)
libopencv_phase_unwrapping455.dll => /mingw64/bin/libopencv_phase_unwrapping455.dll (0x7ffd7b220000)
libopencv_photo455.dll => /mingw64/bin/libopencv_photo455.dll (0x7ffd5b680000)
libopencv_plot455.dll => /mingw64/bin/libopencv_plot455.dll (0x7ffd65780000)
libopencv_quality455.dll => /mingw64/bin/libopencv_quality455.dll (0x7ffd653c0000)
libopencv_reg455.dll => /mingw64/bin/libopencv_reg455.dll (0x7ffd64ce0000)
libopencv_rgbd455.dll => /mingw64/bin/libopencv_rgbd455.dll (0x7ffd5b300000)
libopencv_rapid455.dll => /mingw64/bin/libopencv_rapid455.dll (0x7ffd5ce90000)
libopencv_saliency455.dll => /mingw64/bin/libopencv_saliency455.dll (0x7ffd5ccb0000)
libopencv_sfm455.dll => /mingw64/bin/libopencv_sfm455.dll (0x7ffd5abb0000)
libopencv_shape455.dll => /mingw64/bin/libopencv_shape455.dll (0x7ffd5c7d0000)
libopencv_stereo455.dll => /mingw64/bin/libopencv_stereo455.dll (0x7ffd5c690000)
libopencv_stitching455.dll => /mingw64/bin/libopencv_stitching455.dll (0x7ffd5b250000)
libopencv_structured_light455.dll => /mingw64/bin/libopencv_structured_light455.dll (0x7ffd5b7d0000)
libopencv_surface_matching455.dll => /mingw64/bin/libopencv_surface_matching455.dll (0x7ffd5b4d0000)
libopencv_tracking455.dll => /mingw64/bin/libopencv_tracking455.dll (0x7ffd5a3b0000)
libopencv_text455.dll => /mingw64/bin/libopencv_text455.dll (0x7ffd5ab30000)
libopencv_video455.dll => /mingw64/bin/libopencv_video455.dll (0x7ffd5a320000)
libopencv_videoio455.dll => /mingw64/bin/libopencv_videoio455.dll (0x7ffd59e10000)
ole32.dll => /c/WINDOWS/System32/ole32.dll (0x7ffd99ee0000)
libopencv_viz455.dll => /mingw64/bin/libopencv_viz455.dll (0x7ffd59c60000)
ucrtbase.dll => /c/WINDOWS/System32/ucrtbase.dll (0x7ffd99480000)
combase.dll => /c/WINDOWS/System32/combase.dll (0x7ffd9a800000)
libopencv_xfeatures2d455.dll => /mingw64/bin/libopencv_xfeatures2d455.dll (0x7ffd485a0000)
GDI32.dll => /c/WINDOWS/System32/GDI32.dll (0x7ffd99db0000)
libopencv_wechat_qrcode455.dll => /mingw64/bin/libopencv_wechat_qrcode455.dll (0x7ffd59bd0000)
win32u.dll => /c/WINDOWS/System32/win32u.dll (0x7ffd98e70000)
gdi32full.dll => /c/WINDOWS/System32/gdi32full.dll (0x7ffd98c90000)
msvcp_win.dll => /c/WINDOWS/System32/msvcp_win.dll (0x7ffd98da0000)
libopencv_ximgproc455.dll => /mingw64/bin/libopencv_ximgproc455.dll (0x7ffd43980000)
libopencv_xphoto455.dll => /mingw64/bin/libopencv_xphoto455.dll (0x7ffd5b630000)
USER32.dll => /c/WINDOWS/System32/USER32.dll (0x7ffd99c10000)
OLEAUT32.dll => /c/WINDOWS/System32/OLEAUT32.dll (0x7ffd99580000)
libwinpthread-1.dll => /mingw64/bin/libwinpthread-1.dll (0x7ffd69bb0000)
tbb.dll => /mingw64/bin/tbb.dll (0x7ffd41b30000)
OPENGL32.dll => /c/WINDOWS/SYSTEM32/OPENGL32.dll (0x7ffd495b0000)
libopenblas.dll => /mingw64/bin/libopenblas.dll (0x7ffd14a60000)
zlib1.dll => /mingw64/bin/zlib1.dll (0x7ffd5b7a0000)
libprotobuf.dll => /mingw64/bin/libprotobuf.dll (0x7ffd41890000)
VERSION.dll => /c/WINDOWS/SYSTEM32/VERSION.dll (0x7ffd90910000)
libfreetype-6.dll => /mingw64/bin/libfreetype-6.dll (0x7ffd4af60000)
libharfbuzz-0.dll => /mingw64/bin/libharfbuzz-0.dll (0x7ffd453f0000)
WSOCK32.dll => /c/WINDOWS/SYSTEM32/WSOCK32.dll (0x7ffd789f0000)
libhdf5-0.dll => /mingw64/bin/libhdf5-0.dll (0x7ffd3fbc0000)
Qt5Core.dll => /mingw64/bin/Qt5Core.dll (0x7ffd3f670000)
Qt5Gui.dll => /mingw64/bin/Qt5Gui.dll (0x7ffd3efd0000)
Qt5OpenGL.dll => /mingw64/bin/Qt5OpenGL.dll (0x7ffd5a2c0000)
SHELL32.dll => /c/WINDOWS/System32/SHELL32.dll (0x7ffd9ad00000)
Qt5Test.dll => /mingw64/bin/Qt5Test.dll (0x7ffd59b70000)
Qt5Widgets.dll => /mingw64/bin/Qt5Widgets.dll (0x7ffd3e570000)
libIlmImf-2_5.dll => /mingw64/bin/libIlmImf-2_5.dll (0x7ffd3ed00000)
libopenjp2-7.dll => /mingw64/bin/libopenjp2-7.dll (0x7ffd595c0000)
libjpeg-8.dll => /mingw64/bin/libjpeg-8.dll (0x7ffd438b0000)
libpng16-16.dll => /mingw64/bin/libpng16-16.dll (0x7ffd59dc0000)
libtiff-5.dll => /mingw64/bin/libtiff-5.dll (0x7ffd43820000)
libwebp-7.dll => /mingw64/bin/libwebp-7.dll (0x7ffd4a6a0000)
OgreBites.dll => /mingw64/bin/OgreBites.dll (0x7ffd417e0000)
OgreRTShaderSystem.dll => /mingw64/bin/OgreRTShaderSystem.dll (0x7ffd3e460000)
OgreMain.dll => /mingw64/bin/OgreMain.dll (0x7ffd3c6c0000)
libceres.dll => /mingw64/bin/libceres.dll (0x7ffd3e180000)
libgflags.dll => /mingw64/bin/libgflags.dll (0x7ffd5b0a0000)
libglog.dll => /mingw64/bin/libglog.dll (0x7ffd59a80000)
libtesseract-5.dll => /mingw64/bin/libtesseract-5.dll (0x7ffd3c3a0000)
libvtkCommonCore-8.2.dll => /mingw64/bin/libvtkCommonCore-8.2.dll (0x7ffd3bea0000)
libvtkCommonDataModel-8.2.dll => /mingw64/bin/libvtkCommonDataModel-8.2.dll (0x7ffd3bb00000)
libvtkCommonExecutionModel-8.2.dll => /mingw64/bin/libvtkCommonExecutionModel-8.2.dll (0x7ffd3e0e0000)
libvtkCommonMath-8.2.dll => /mingw64/bin/libvtkCommonMath-8.2.dll (0x7ffd5b4a0000)
libvtkCommonTransforms-8.2.dll => /mingw64/bin/libvtkCommonTransforms-8.2.dll (0x7ffd5b220000)
libvtkFiltersExtraction-8.2.dll => /mingw64/bin/libvtkFiltersExtraction-8.2.dll (0x7ffd3d740000)
libvtkFiltersCore-8.2.dll => /mingw64/bin/libvtkFiltersCore-8.2.dll (0x7ffd3b580000)
libvtkFiltersGeneral-8.2.dll => /mingw64/bin/libvtkFiltersGeneral-8.2.dll (0x7ffd3b250000)
libvtkFiltersSources-8.2.dll => /mingw64/bin/libvtkFiltersSources-8.2.dll (0x7ffd3e050000)
libvtkFiltersTexture-8.2.dll => /mingw64/bin/libvtkFiltersTexture-8.2.dll (0x7ffd64ba0000)
libvtkInteractionStyle-8.2.dll => /mingw64/bin/libvtkInteractionStyle-8.2.dll (0x7ffd590e0000)
libvtkImagingCore-8.2.dll => /mingw64/bin/libvtkImagingCore-8.2.dll (0x7ffd3d0f0000)
libvtkIOCore-8.2.dll => /mingw64/bin/libvtkIOCore-8.2.dll (0x7ffd4ab30000)
libvtkIOExport-8.2.dll => /mingw64/bin/libvtkIOExport-8.2.dll (0x7ffd4a090000)
libvtkIOGeometry-8.2.dll => /mingw64/bin/libvtkIOGeometry-8.2.dll (0x7ffd3b120000)
libvtkIOImage-8.2.dll => /mingw64/bin/libvtkIOImage-8.2.dll (0x7ffd3afb0000)
libvtkRenderingCore-8.2.dll => /mingw64/bin/libvtkRenderingCore-8.2.dll (0x7ffd3ae10000)
libvtkIOPLY-8.2.dll => /mingw64/bin/libvtkIOPLY-8.2.dll (0x7ffd5ab00000)
libvtkRenderingFreeType-8.2.dll => /mingw64/bin/libvtkRenderingFreeType-8.2.dll (0x7ffd3d690000)
libvtkRenderingGL2PSOpenGL2-8.2.dll => /mingw64/bin/libvtkRenderingGL2PSOpenGL2-8.2.dll (0x7ffd5eea0000)
libvtkRenderingLOD-8.2.dll => /mingw64/bin/libvtkRenderingLOD-8.2.dll (0x7ffd5e110000)
libvtkRenderingOpenGL2-8.2.dll => /mingw64/bin/libvtkRenderingOpenGL2-8.2.dll (0x7ffd3a080000)
libiconv-2.dll => /mingw64/bin/libiconv-2.dll (0x7ffd39f60000)
avcodec-58.dll => /mingw64/bin/avcodec-58.dll (0x7ffd136f0000)
avutil-56.dll => /mingw64/bin/avutil-56.dll (0x7ffd13420000)
avformat-58.dll => /mingw64/bin/avformat-58.dll (0x7ffd131d0000)
bcrypt.dll => /c/WINDOWS/System32/bcrypt.dll (0x7ffd98e40000)
swscale-5.dll => /mingw64/bin/swscale-5.dll (0x7ffd39510000)
GLU32.dll => /c/WINDOWS/SYSTEM32/GLU32.dll (0x7ffd59590000)
libgfortran-5.dll => /mingw64/bin/libgfortran-5.dll (0x7ffd12ec0000)
libbz2-1.dll => /mingw64/bin/libbz2-1.dll (0x7ffd5c7b0000)
libbrotlidec.dll => /mingw64/bin/libbrotlidec.dll (0x7ffd5adb0000)
DWrite.dll => /c/WINDOWS/SYSTEM32/DWrite.dll (0x7ffd72710000)
USP10.dll => /c/WINDOWS/SYSTEM32/USP10.dll (0x7ffd929a0000)
libglib-2.0-0.dll => /mingw64/bin/libglib-2.0-0.dll (0x7ffd12d70000)
libgraphite2.dll => /mingw64/bin/libgraphite2.dll (0x7ffd58c00000)
libintl-8.dll => /mingw64/bin/libintl-8.dll (0x7ffd4b0c0000)
libsz.dll => /mingw64/bin/libsz.dll (0x7ffd590c0000)
libicuin69.dll => /mingw64/bin/libicuin69.dll (0x7ffd12aa0000)
MPR.dll => /c/WINDOWS/SYSTEM32/MPR.dll (0x7ffd7c010000)
libdouble-conversion.dll => /mingw64/bin/libdouble-conversion.dll (0x7ffd4b0a0000)
libicuuc69.dll => /mingw64/bin/libicuuc69.dll (0x7ffd128e0000)
NETAPI32.dll => /c/WINDOWS/SYSTEM32/NETAPI32.dll (0x7ffd89a50000)
d3d11.dll => /c/WINDOWS/SYSTEM32/d3d11.dll (0x7ffd94440000)
dxgi.dll => /c/WINDOWS/SYSTEM32/dxgi.dll (0x7ffd97540000)
libpcre2-16-0.dll => /mingw64/bin/libpcre2-16-0.dll (0x7ffd48540000)
libmd4c.dll => /mingw64/bin/libmd4c.dll (0x7ffd4af40000)
USERENV.dll => /c/WINDOWS/SYSTEM32/USERENV.dll (0x7ffd98b40000)
libzstd.dll => /mingw64/bin/libzstd.dll (0x7ffd12800000)
WINMM.dll => /c/WINDOWS/SYSTEM32/WINMM.dll (0x7ffd8a210000)
dwmapi.dll => /c/WINDOWS/SYSTEM32/dwmapi.dll (0x7ffd964c0000)
UxTheme.dll => /c/WINDOWS/SYSTEM32/UxTheme.dll (0x7ffd958b0000)
libHalf-2_5.dll => /mingw64/bin/libHalf-2_5.dll (0x7ffd46ee0000)
libIex-2_5.dll => /mingw64/bin/libIex-2_5.dll (0x7ffd43da0000)
libIlmThread-2_5.dll => /mingw64/bin/libIlmThread-2_5.dll (0x7ffd93550000)
libImath-2_5.dll => /mingw64/bin/libImath-2_5.dll (0x7ffd49590000)
libdeflate.dll => /mingw64/bin/libdeflate.dll (0x7ffd48520000)
libjbig-0.dll => /mingw64/bin/libjbig-0.dll (0x69500000)
libLerc.dll => /mingw64/bin/libLerc.dll (0x7ffd38a00000)
liblzma-5.dll => /mingw64/bin/liblzma-5.dll (0x7ffd46eb0000)
OgreOverlay.dll => /mingw64/bin/OgreOverlay.dll (0x7ffd12690000)
SDL2.dll => /mingw64/bin/SDL2.dll (0x7ffd124c0000)
IMM32.dll => /c/WINDOWS/System32/IMM32.dll (0x7ffd996e0000)
SETUPAPI.dll => /c/WINDOWS/System32/SETUPAPI.dll (0x7ffd9a0a0000)
libzzip.dll => /mingw64/bin/libzzip.dll (0x7ffd919c0000)
cfgmgr32.dll => /c/WINDOWS/System32/cfgmgr32.dll (0x7ffd98c40000)
libcholmod.dll => /mingw64/bin/libcholmod.dll (0x7ffd123a0000)
libcxsparse.dll => /mingw64/bin/libcxsparse.dll (0x7ffd45240000)
libspqr.dll => /mingw64/bin/libspqr.dll (0x7ffd437e0000)
dbghelp.dll => /c/WINDOWS/SYSTEM32/dbghelp.dll (0x7ffd96a50000)
libarchive-13.dll => /mingw64/bin/libarchive-13.dll (0x7ffd381a0000)
libcurl-4.dll => /mingw64/bin/libcurl-4.dll (0x7ffd122f0000)
CRYPT32.dll => /c/WINDOWS/System32/CRYPT32.dll (0x7ffd99320000)
WLDAP32.dll => /c/WINDOWS/System32/WLDAP32.dll (0x7ffd9ab70000)
libgomp-1.dll => /mingw64/bin/libgomp-1.dll (0x7ffd41790000)
liblept-5.dll => /mingw64/bin/liblept-5.dll (0x7ffd12080000)
libvtksys-8.2.dll => /mingw64/bin/libvtksys-8.2.dll (0x7ffd3dff0000)
PSAPI.DLL => /c/WINDOWS/System32/PSAPI.DLL (0x7ffd99b30000)
libvtkCommonMisc-8.2.dll => /mingw64/bin/libvtkCommonMisc-8.2.dll (0x7ffd3d0c0000)
libvtkCommonMisc-8.2.dll => /mingw64/bin/libvtkCommonMisc-8.2.dll (0x232e5070000)
libvtkCommonSystem-8.2.dll => /mingw64/bin/libvtkCommonSystem-8.2.dll (0x7ffd3d090000)
libvtkFiltersStatistics-8.2.dll => /mingw64/bin/libvtkFiltersStatistics-8.2.dll (0x7ffd11fc0000)
libvtkCommonComputationalGeometry-8.2.dll => /mingw64/bin/libvtkCommonComputationalGeometry-8.2.dll (0x7ffd3d060000)
liblz4.dll => /mingw64/bin/liblz4.dll (0x7ffd3add0000)
libvtkFiltersGeometry-8.2.dll => /mingw64/bin/libvtkFiltersGeometry-8.2.dll (0x7ffd39010000)
libvtkIOXML-8.2.dll => /mingw64/bin/libvtkIOXML-8.2.dll (0x7ffd11f00000)
libvtkRenderingContext2D-8.2.dll => /mingw64/bin/libvtkRenderingContext2D-8.2.dll (0x7ffd3a600000)
libvtkDICOMParser-8.2.dll => /mingw64/bin/libvtkDICOMParser-8.2.dll (0x7ffd3ada0000)
libvtkmetaio-8.2.dll => /mingw64/bin/libvtkmetaio-8.2.dll (0x7ffd11e50000)
libvtkCommonColor-8.2.dll => /mingw64/bin/libvtkCommonColor-8.2.dll (0x7ffd3a500000)
libgl2ps.dll => /mingw64/bin/libgl2ps.dll (0x7ffd39ea0000)
libvtkFiltersModeling-8.2.dll => /mingw64/bin/libvtkFiltersModeling-8.2.dll (0x7ffd11dc0000)
glew32.dll => /mingw64/bin/glew32.dll (0x66300000)
libaom.dll => /mingw64/bin/libaom.dll (0x7ffd114d0000)
libdav1d.dll => /mingw64/bin/libdav1d.dll (0x7ffd111c0000)
libcairo-2.dll => /mingw64/bin/libcairo-2.dll (0x7ffd113b0000)
libgobject-2.0-0.dll => /mingw64/bin/libgobject-2.0-0.dll (0x7ffd39170000)
libgsm.dll => /mingw64/bin/libgsm.dll (0x7ffd48370000)
MFPlat.DLL => /c/WINDOWS/SYSTEM32/MFPlat.DLL (0x7ffd91c90000)
shcore.dll => /c/WINDOWS/System32/shcore.dll (0x7ffd998b0000)
libmfx-1.dll => /mingw64/bin/libmfx-1.dll (0x7ffd453d0000)
libopencore-amrnb-0.dll => /mingw64/bin/libopencore-amrnb-0.dll (0x7ffd37f10000)
libmp3lame-0.dll => /mingw64/bin/libmp3lame-0.dll (0x7ffd11130000)
libopencore-amrwb-0.dll => /mingw64/bin/libopencore-amrwb-0.dll (0x7ffd3ece0000)
libopus-0.dll => /mingw64/bin/libopus-0.dll (0x7ffd110c0000)
rav1e.dll => /mingw64/bin/rav1e.dll (0x7ffd10420000)
librsvg-2-2.dll => /mingw64/bin/librsvg-2-2.dll (0x7ffd107c0000)
libspeex-1.dll => /mingw64/bin/libspeex-1.dll (0x69580000)
libSvtAv1Enc.dll => /mingw64/bin/libSvtAv1Enc.dll (0x7ffd0fa80000)
libtheoradec-1.dll => /mingw64/bin/libtheoradec-1.dll (0x7ffd3a660000)
libtheoraenc-1.dll => /mingw64/bin/libtheoraenc-1.dll (0x7ffd0fa40000)
libvorbis-0.dll => /mingw64/bin/libvorbis-0.dll (0x7ffd0fa00000)
libvorbisenc-2.dll => /mingw64/bin/libvorbisenc-2.dll (0x7ffd0f960000)
libvpx-1.dll => /mingw64/bin/libvpx-1.dll (0x7ffd0f610000)
libwebpmux-3.dll => /mingw64/bin/libwebpmux-3.dll (0x7ffd39a90000)
libx264-164.dll => /mingw64/bin/libx264-164.dll (0x7ffd0f330000)
libx265.dll => /mingw64/bin/libx265.dll (0x7ffd0dfd0000)
xvidcore.dll => /mingw64/bin/xvidcore.dll (0x7ffd0dea0000)
swresample-3.dll => /mingw64/bin/swresample-3.dll (0x7ffd0de70000)
libbluray-2.dll => /mingw64/bin/libbluray-2.dll (0x7ffd0de00000)
libgme.dll => /mingw64/bin/libgme.dll (0x7ffd0dda0000)
libgnutls-30.dll => /mingw64/bin/libgnutls-30.dll (0x7ffd0dba0000)
libmodplug-1.dll => /mingw64/bin/libmodplug-1.dll (0x7ffd0dab0000)
librtmp-1.dll => /mingw64/bin/librtmp-1.dll (0x7ffd0da80000)
libsrt.dll => /mingw64/bin/libsrt.dll (0x7ffd0d9a0000)
libssh.dll => /mingw64/bin/libssh.dll (0x7ffd0d920000)
libxml2-2.dll => /mingw64/bin/libxml2-2.dll (0x7ffd0d7d0000)
libvulkan-1.dll => /mingw64/bin/libvulkan-1.dll (0x7ffd0d740000)
libquadmath-0.dll => /mingw64/bin/libquadmath-0.dll (0x7ffd0d6d0000)
libbrotlicommon.dll => /mingw64/bin/libbrotlicommon.dll (0x7ffd0d6a0000)
libpcre-1.dll => /mingw64/bin/libpcre-1.dll (0x7ffd0d650000)
libicudt69.dll => /mingw64/bin/libicudt69.dll (0x7ffd0bae0000)
libamd.dll => /mingw64/bin/libamd.dll (0x7ffd394f0000)
libcamd.dll => /mingw64/bin/libcamd.dll (0x7ffd0bac0000)
libccolamd.dll => /mingw64/bin/libccolamd.dll (0x7ffd0baa0000)
libcolamd.dll => /mingw64/bin/libcolamd.dll (0x7ffd0ba80000)
I have located the bug but don't know how to fix it. entry point not found errors "_ZN6google11InitVLOG3_EPPiSO_PKci" at c:\msys64\mingw64\bin\libceres.dll
@3togo I am getting the same error, did you get a fix for that?
Is this issue still reproducible ?
Might be related to Windows Server "Desktop Experience" needing to be turned on
Hi, when using mingw-w64-opencv with python I got an error message of missing DLL files:
$ python -c "import cv2"
Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: DLL load failed while importing cv2: Die angegebene Prozedur wurde nicht gefunden.
This happened when installing OpenCV inside a new MSYS2 environment. I did some additional tests and got strange results:
Also note, that my build package is slightly bigger than the prebuild one (both are version 4.3.0-2). I can not really tell any difference between those packages, just that the prebuild one is not working. Maybe check the build server?