X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=mingw64_deps%2Fqt%2Fbuild.sh;h=a0bdd123322951c7d1215537ab4376c2b6f0cd19;hp=645f4af7cd83b53713d050a1e278e9ac43597fdf;hb=f2a3e5a6d0e6a6bbe7bfdcb600810d2627bd0b36;hpb=579085a5859e5461aed7d374931585455ad82940 diff --git a/mingw64_deps/qt/build.sh b/mingw64_deps/qt/build.sh index 645f4af..a0bdd12 100755 --- a/mingw64_deps/qt/build.sh +++ b/mingw64_deps/qt/build.sh @@ -9,6 +9,17 @@ echo "Expected either aarch64 or x86_64." exit 1 fi +if [[ ! $(which ${CROSS}-w64-mingw32-clang) ]]; then +echo "llvm-mingw is not installed, please download it from https://github.com/mstorsjo/llvm-mingw/releases" +echo "Untar downloaded archive and add its /bin directory to your PATH" +exit 1 +fi + +if [[ ! $(which cmake) ]]; then +echo "cmake is not installed, please install CMake >= 3.20 (e.g. pip3 install cmake)" +exit 1 +fi + # Make build directories mkdir ${ROOT}/${CROSS}-w64-mingw32-build mkdir ${ROOT}/${CROSS}-w64-mingw32-build-qttools