The make command returned an error of 2
10 次查看(过去 30 天)
显示 更早的评论
Simulink suddenly cannot use fast acceleration
1 个评论
Animesh
2024-8-30
Hey,
You can try the troubleshooting steps mentioned in this MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/814790-why-do-i-get-the-build-error-no-rule-to-make-target.
回答(1 个)
Abhas
2024-9-11
Hi,
The error "No rule to make target" is typically thrown by the make/gmake build automation tool because it can't find the instructions on how to create a particular file or target. This can happen due to several reasons:
- Incorrect Path: Your project path, source file path and/or include folder path contains white spaces that the "make" tool cannot handle.
- Missing File: It could also mean that the indicated file is missing.
- Windows Character Length Limit: A long directory path name could also violate the Windows 256-character length limit and result in this error.
- Simulink Real-Time Character Length Limit: The error could be due to the third-party QNX compiler used by Speedgoat hitting the character length limit.
Please refer to the following MATLAB Answer post for more detail:
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multicore Processor Targets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!