Page 1 of 1

undefined reference to `QQuickWindow::contentItem() const'

Posted: 12 May 2023 16:58
by its_ayush_07
Hi I'm trying to cross compile the Windows 64 bit build of VLC from Ubuntu 22.04. I'm using the latest Docker image.

Steps followed:

Code: Select all

$ sudo docker pull registry.videolan.org/vlc-debian-win64:20221214115142 $ sudo docker run -u 0 -v /home/its-ayush-07/Desktop/vlc-windows-AD:/vlc-windows-AD -i -t registry.videolan.org/vlc-debian-win64:20221214115142 /bin/bash $ cd /vlc-windows-AD $ git config --global core.autocrlf false $ git clone https://code.videolan.org/videolan/vlc.git $ mkdir build $ cd build $ ../vlc/extras/package/win32/build.sh -a x86_64
Error that I'm facing:

Code: Select all

/opt/gcc-x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld: /vlc-windows-AD/build/contrib/x86_64-w64-mingw32/lib/libQt5Quick.a(qaccessiblequickview.o): in function `QAccessibleQuickWindow::rootItems() const': /vlc-windows-AD/build/contrib/contrib-win64/qtdeclarative/src/quick/accessible/qaccessiblequickview.cpp:60: undefined reference to `QQuickWindow::contentItem() const' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:23134: libqt_plugin.la] Error 1 make[4]: Leaving directory '/vlc-windows-AD/build/win64/modules' make[3]: *** [Makefile:38685: all-recursive] Error 1 make[3]: Leaving directory '/vlc-windows-AD/build/win64/modules' make[2]: *** [Makefile:16141: all] Error 2 make[2]: Leaving directory '/vlc-windows-AD/build/win64/modules' make[1]: *** [Makefile:1632: all-recursive] Error 1 make[1]: Leaving directory '/vlc-windows-AD/build/win64' make: *** [Makefile:1519: all] Error 2
Any help would be really appreciated :)