Hi Daljit*,* Please remove C:/Strawberry from path. before running configure. Or at least please make sure that it goes after the mingw provided by Qt.
Thanks! Regards, Alexey. пн, 20 февр. 2023 г. в 14:20, Daljit Singh <dalji...@live.com>: > Hi all, > > I’m trying to build Qt 6 on Windows 11, but I’m getting some errors when I > run ./configure that I can’t understand the cause of. > > I used the following instructions: > > > > git clone git://code.qt.io/qt/qt5.git qt > > git checkout dev > > perl ./init-repository --module-subset=qtbase,qtshadertools,qtdeclarative > > > > However, when I run ./configure I get these errors: > > > > CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:466 (message): > > Unable to build syncqt: Change Dir: > > C:/Qt/6.5.0/qt6_source/qt/qtbase/src/tools/syncqt/configure_time_bins > > > > > > > > Run Build Command(s):C:/Qt/Tools/Ninja/ninja.exe && [1/1] Linking CXX > > executable C:\Qt\6.5.0\qt6_source\qt\qtbase\bin\syncqt.exe > > > > FAILED: C:/Qt/6.5.0/qt6_source/qt/qtbase/bin/syncqt.exe > > > > cmd.exe /C "cd . && C:\Strawberry\c\bin\c++.exe -O2 -g -DNDEBUG > > CMakeFiles/syncqt.dir/main.cpp.obj -o > > C:\Qt\6.5.0\qt6_source\qt\qtbase\bin\syncqt.exe > > -Wl,--out-implib,libsyncqt.dll.a > > -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 > > -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 > > -ladvapi32 && cd ." > > > > > > > C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: > > CMakeFiles/syncqt.dir/main.cpp.obj: in function > > `std::filesystem::__cxx11::operator==(std::filesystem::__cxx11::path > > const&, std::filesystem::__cxx11::path const&)': > > > > > > > C:/Strawberry/c/lib/gcc/x86_64-w64-mingw32/8.3.0/include/c++/bits/fs_path.h:514: > > undefined reference to > > `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path > > const&) const' > > > > The full log can seen here https://pastebin.com/8jZ4pA3E > > > > Does anyone have any clue on what might be the problem? > > > > Best, > Daljit > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest