Lwh2008-Equinox
2024-04-21 21:52 deepin
env:GitHub action。。。
Reply Like 0 View the author
env:GitHub action。。。
sudo apt update
sudo apt install clang-tools clang-tools-11 libclang-common-11-dev libclang-11-dev libclang1-11 llvm-11-dev llvm-11-runtime llvm-common llvm-tools
OS:Ubuntu 22.04
配置↓
./configure -confirm-license --prefix="/opt/usr" -opensource -plugin-sql-mysql -system-sqlite -system-harfbuzz -system-zlib -system-libpng -system-libjpeg -system-doubleconversion -system-pcre -openssl -no-rpath -verbose -optimized-qmake -dbus-linked -no-strip -no-separate-debug-info -qpa xcb -xcb -glib -icu -accessibility -nomake examples -nomake tests -no-directfb -no-use-gold-linker -opengl desktop
out↓
CMake Error at /usr/lib/llvm-11/lib/cmake/clang/ClangTargets.cmake:671 (message):
The imported target "clangBasic" references the file
but this file does not exist. Possible reasons include:
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/cmake/clang-11/ClangConfig.cmake:20 (include)
qttools/cmake/FindWrapLibClang.cmake:17 (find_package)
qtbase/cmake/QtFindPackageHelpers.cmake:156 (find_package)
qttools/configure.cmake:20 (qt_find_package)
qtbase/cmake/QtFeature.cmake:678 (include)
qttools/src/CMakeLists.txt:18 (qt_feature_evaluate_features)
-- Configuring incomplete, errors occurred!
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cma
安装依赖↓
sudo apt install clang* llvm* libpcre2-dev libdouble-conversion-dev libmysql-ocaml-dev libxkbcommon-x11-dev libsqlite3-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-render-util0-dev libxcb-xinerama0-dev libxinerama-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-render-util0-dev libxcb-xinerama0-dev libxinerama-dev libssl-dev libjpeg-dev firebird-dev libdbus-1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libharfbuzz-dev libpng-dev unixodbc-dev libpq-dev freetds-dev flite1-dev libspeechd-dev libudev-dev libzstd-dev libx11-xcb-dev libglu1-mesa-dev "^libxcb.*" build-essential libsystemd-dev libostree-dev -y