Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Linking CXX shared library ..\..\bin\libopencv_core341.dll CMAKE/OPENCV ERROR
R-P-H last edited by R-P-H
Hi, I am trying to setup the OpenCV image processing library v3.4.1 with QT v5.10.1 and cmake-gui v3.10.2 using the guide here: How_to_setup_Qt_and_openCV_on_Windows . I am using Windows 7 64bit.
I have followed all instructions exactly but when I run the command mingw32-make I get the following error:
[ 37%] Linking CXX shared library ..\..\bin\libopencv_core341.dll CMakeFiles\opencv_core.dir/objects.a: member CMakeFiles\opencv_core.dir/objects. a(vs_version.rc.obj) in archive is not an object collect2.exe: error: ld returned 1 exit status modules\core\CMakeFiles\opencv_core.dir\build.make:2329: recipe for target 'bin/ libopencv_core341.dll' failed mingw32-make: *** [bin/libopencv_core341.dll] Error 1 CMakeFiles\Makefile2:1675: recipe for target 'modules/core/CMakeFiles/opencv_cor e.dir/all' failed mingw32-make: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 Makefile:161: recipe for target 'all' failed mingw32-make: *** [all] Error 2
I have already tried disabling "pre-compiled-headers" in CMAKE. I have searched endlessly for a solution but nothing has worked thus far.
OpenCV v18.104.22.168 compiles/builds without any issues
Any help is appreciated, thanks !
Pablo J. Rogina last edited by
R-P-H last edited by
Hi, "WITH-IPP" is already disabled in my CMAKE version.
phuong last edited by
In cmake gui add entry OPENCV_VS_VERSIONINFO_SKIP=1. I had fixed the same error with that.