__cxa_throw _bad array_ new_length not found in the dynamic link library C:\Users\Asma\Documents\Ckconvert\release\Qt5Core.dll
-
Hello guys,
I'm running Qt creator with 2 different kits :Qt 5.3.0 mingw482_32.
Qt 5.6.0 mingw492_32.i made my app and build it with Qt 5.6.0 mingw492_32 , and now i want to deploy it, i tried to run my .exe from release file but always same problem, i searched this problem in google and tried different solutions ( add platforms next to my .exe , i added LibEGL.dll and libEGLd.dll too ) but always same problem, this is my realse file
This is the error i get when i try to open my .exe ( release mode )
this error is written in french, this is the translation :
Title : ckconvert.exe - entry point not found
the procedure entry point
__cxa_throw bad array new_length not found in the dynamic link library C:\Users\Asma\Documents\Ckconvert\release\Qt5Core.dllI think my problem is coming because i have two versions of kit ( the 5.3.0 is the oldest one ) and maybe the OS is looking for the wrong Qt5Core.dll despite that i have put the good one ( from Qt5.6.0 ) ?
Can i get Help ? Thanks -
@Zunneh hi
do not copy and past stuff by hand, use the Windows deployment tool
https://doc.qt.io/qt-5/windows-deployment.htmleach compiled (Qt)lib has one, so make sure to use the one from the 5.6.0 director (the build version)
-
@J-Hilk
Hi,
thanks for your answer, i tried windeployqt and this is the result when i try to runit seems like windeploy Qt forget to add libwinpthread-1.dll, i added this file manually ( copy and paste ) and i still get the same problem
Same problem...
-
-
Hi, it's a bit odd that your libwinpthread-1.dll is not from the same year as the other 2 MinGW dlls (libgcc_s_dw2-1.dll and libstdc++-6.dll).
I've deployed lots of Qt MinGW installations, and every time I've seen that those 3 dlls: libwinpthread-1.dll, libgcc_s_dw2-1.dll and libstdc++-6.dll are from the same year, month and day (even the hour and minutes are the same).
Maybe you can find a libwinpthread-1.dll that has the date summer of 2018 and not from december 2014. -
No, if double-clicking on the .exe does not start your application ok, then deploying would be just a waste of time.
One other possibility to get a good copy of libwinpthread-1.dll, you could try installing a newer version of Qt for the MinGW compiler, like the current one, it's 5.14.1.
-
@hskoglund
I made it finally, guess what i have done ? i changed the libstdc++-6.dll and libgcc_s_dw2-1.dll files to make the three files ( libstdc++-6.dll and libgcc_s_dw2-1.dll and libwinpthread-1.dll ) with the same date ( from 2014 ) and now it work perfectly, thanks for your Help
i don't know why but when i deployed the date of libstdc++-6.dll and libgcc_s_dw2-1.dll have changed ( or maybe he taked the wrong one )