-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Fix VLC build process #2673
base: master
Are you sure you want to change the base?
Conversation
427d7b9
to
48846ed
Compare
Update: The build process is still not completely fixed, only MINGW64 compilation outputs a working VLC. MINGW32 compiles a broken version of VLC, outputting
...but compilation manages to finish anyway, but at a glacial speed due to ninja limiting the build process to one core after the failed step. I suspect the reason MINGW32 VLC doesn't work is because of this strange behavior, not sure how to deal with it. CLANG32 and CLANG64 compilation now both fail at building qtshadertools, with undefined symbol errors:
Not sure why this error is occurring, Qt6 is being linked. I think I'll wait and see if this issue solves itself, I'm not sure where I'd begin to investigate. |
Fix build process for VLC and switch to Qt 6
woot000:WIP-fix-VLC |
This PR attempts to fix the currently broken VLC build process. Some notable changes include switching from Qt 5 to Qt 6, switching from fxc2 to efxc, building abseil-cpp (new requirement of protobuf), building freetype, harfbuzz, and libpng for Qt 6, and building openjpeg2, fontconfig, libass, libogg, and ffmpeg 6.1 for VLC.
Much of the changes are based directly off of VLC's contrib build scripts.
Submitting as a draft because only 64-bit gcc compilation completes sucessfully. There are some problems that need to be addressed before this PR should be merged:
(also for some reason qtdeclarative builds with only one job in 32-bit even though more than one is specified???)
I'm not sure what the cause of this error is or how to go about fixing it. I assume this error stems from the recent implementation of clang32/64 in the suite, though that's just a hunch.
unknown option -- t
partway through compilation. ccache works for all non-Qt dependencies (including VLC proper), so it is enabled for those projects.