简体   繁体   English

如何修复“没有规则来制作目标‘项目名称’。 停止。'

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

I'm trying to build my qt project after macOS 10.15 Catalina update.我正在尝试在 macOS 10.15 Catalina 更新后构建我的 qt 项目。 Always get en error: :-1: error: No rule to make target 'AircraftAlgorithmPack'. Stop.总是出错:: :-1: error: No rule to make target 'AircraftAlgorithmPack'. Stop. :-1: error: No rule to make target 'AircraftAlgorithmPack'. Stop.

And recommendations:和建议:

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"

I've already checked that my SDK version is 10.15.我已经检查过我的 SDK 版本是 10.15。 I've tried to clean project, to delete build directory, to rerun qmake, to make context change in make file (from 10.14 to 10.15), to write some mantras not to check SDK version.我试图清理项目,删除构建目录,重新运行 qmake,在 make 文件中进行上下文更改(从 10.14 到 10.15),写一些不检查 SDK 版本的咒语。 All advices from google.来自谷歌的所有建议。 Nothing happens.什么都没发生。

Make sure to erase all.qmake.stash files - they might also be located in your project's folder.确保删除 all.qmake.stash 文件——它们也可能位于您的项目文件夹中。 Completely delete your build directory.完全删除您的构建目录。 The.qmake.stash files are hidden from Finder, so you might need to use the command shell to locate them. .qmake.stash 文件在 Finder 中是隐藏的,因此您可能需要使用命令 shell 来定位它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM