簡體   English   中英

如何修復“沒有規則來制作目標‘項目名稱’。 停止。'

[英]How to fix 'No rule to make target `project-name'. Stop.'

我正在嘗試在 macOS 10.15 Catalina 更新后構建我的 qt 項目。 總是出錯:: :-1: error: No rule to make target 'AircraftAlgorithmPack'. Stop. :-1: error: No rule to make target 'AircraftAlgorithmPack'. Stop.

和建議:

make: *** No rule to make target 'AircraftAlgorithmPack'.  Stop.
The platform SDK has been changed from version 10.14 to version 10.15.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.
/Users/arseniyspiridonov/Qt/5.13.1/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
19:01:49: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project AircraftAlgorithmPack (kit: Desktop Qt 5.13.1 clang 64bit)
When executing step "qmake"

我已經檢查過我的 SDK 版本是 10.15。 我試圖清理項目,刪除構建目錄,重新運行 qmake,在 make 文件中進行上下文更改(從 10.14 到 10.15),寫一些不檢查 SDK 版本的咒語。 來自谷歌的所有建議。 什么都沒發生。

確保刪除 all.qmake.stash 文件——它們也可能位於您的項目文件夾中。 完全刪除您的構建目錄。 .qmake.stash 文件在 Finder 中是隱藏的,因此您可能需要使用命令 shell 來定位它們。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM