How to solve "No rule to make target `rtiostream_utils.c' " error while building model in Simulink?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello, I have recently bought S32K144 EVB and tried to execute some given examples and I am getting this error:
"gmake: * No rule to make target `rtiostream_utils.c', needed by `clock_manager.o'. Stop. ### Build procedure for model: 'gpio_s32k14' aborted due to an error. Error(s) encountered while building "gpio_s32k14"
Could someone advise me how to solve this issue?
Thank you in advance.
댓글 수: 0
답변 (2개)
Nick Choi
2017년 11월 17일
Without a reproduction model or screenshots of the entire error, it is somewhat difficult to determine a potential root cause. However, this message is usually an indication that 'rtiostream_utils.c' can't be found during the model's build process.
I would check to make sure that the directory that contains this file is included on the build path and that the file actually exists.
댓글 수: 0
Pratik
2024년 7월 17일 8:48
Hi Tautvydas,
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 for 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!