m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

qtbase make error #2539

Open zhangran-cn opened 9 months ago

zhangran-cn commented 9 months ago
09:31:02 ┌ qtbase git  ............................... [Recently updated]
0006-ANGLE-don-t-use-msvc-intrinsics-when-crosscompiling-.patch
        Patch could not be applied with `git am`. Continuing without patching.
09:31:37 ├ Running configure...
09:37:02 ├ Running make...
Likely error (tail of the failed operation logfile):
C:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/media-autobuild_suite/build/qtbase-git/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv[_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv]+0x8c): undefined reference to `__imp_pcre2_code_free_16'
C:/media-autobuild_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/media-autobuild_suite/build/qtbase-git/lib/libQt5Core.a(qregularexpression.o):qregularexpression.cpp:(.text$_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv[_ZN18QSharedDataPointerI38QRegularExpressionMatchIteratorPrivateE13detach_helperEv]+0x165): more undefined references to `__imp_pcre2_code_free_16' follow
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile.Release:95: ../../../bin/qlalr.exe] Error 1
make[3]: Leaving directory '/build/qtbase-git/src/tools/qlalr'
make[2]: *** [Makefile:45: release] Error 2
make[2]: Leaving directory '/build/qtbase-git/src/tools/qlalr'
make[1]: *** [Makefile:227: sub-qlalr-make_first] Error 2
make[1]: Leaving directory '/build/qtbase-git/src'
make: *** [Makefile:54: sub-src-make_first] Error 2
make failed. Check C:/media-autobuild_suite/build/qtbase-git/ab-suite.make.log
This is required for other packages, so this script will exit.
09:54:08   Creating diagnostics file...

logs.zip

zhangran-cn commented 9 months ago

I found the same issue #2323,but it hasn't been resolved. Why?

1480c1 commented 9 months ago

I have been mainly working on fixing compilation of projects related to ffmpeg and others for gcc and clang and qt is a massive project along with vlc, so its priority is lower. If it fails, unless you are willing to investigate and submit a fix, I would recommend disabling vlc compilation for now until I finish the rest and have time to get to it.

zhangran-cn commented 9 months ago

I know it. Thanks about it. I' l try it again.

At 2023-10-10 10:20:51, "Christopher Degawa" @.***> wrote:

I have been mainly working on fixing compilation of projects related to ffmpeg and others for gcc and clang and qt is a massive project along with vlc, so its priority is lower. If it fails, unless you are willing to investigate and submit a fix, I would recommend disabling vlc compilation for now until I finish the rest and have time to get to it.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>