How to solve the "No rule to make target `.refresh', needed by `ert_main.o.opt'. Stop." when I use Embeded Coder to build generated C code?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi,
When I try to use RTW demo to build the model with Embeded Coder it appears this error. Could you tell me where the fault is? Thanks!
C:\Users\Jay\Desktop\TC1782_demo\tasking_demo_sumdiff_tc_rtw>set MATLAB=C:\Program Files\Polyspace\R2019b C:\Users\Jay\Desktop\TC1782_demo\tasking_demo_sumdiff_tc_rtw>"C:\Program Files\Polyspace\R2019b\bin\win64\gmake" -f tasking_demo_sumdiff.mk GENERATE_ASAP2=0 ISPROTECTINGMODEL=NOTPROTECTING
gmake: *** No rule to make target `.refresh', needed by `ert_main.o.opt'. Stop.
Error(s) encountered while building "tasking_demo_sumdiff"
댓글 수: 0
답변 (1개)
Shivam Lahoti
2024년 10월 30일 10:51
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 for several reasons.
Please refer the following MATLAB Answer to understand more about this issue and approaches adopted to resolve this issue:
I hope the approaches mentioned in the above-mentioned community post would help you resolve this issue.
Regards,
Shivam
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!