"No rule to make target" error

23 ビュー (過去 30 日間)
vinay kg
vinay kg 2022 年 6 月 27 日
回答済み: Stefanie Schwarz 2024 年 2 月 6 日
We are facing issue, while building matlab generated embedded code in CCS studio. we are able to build the project only in the PC, where we generate the matlab code. apart from that we are not able to build the project in any other PC. Please provide solution for this.

採用された回答

Pravarthana P
Pravarthana P 2022 年 6 月 30 日
編集済み: Pravarthana P 2022 年 6 月 30 日
Hi Vinay K G,
I understand that you are facing the error “No rule to make target” error while building the project in the other PCs than the MATLAB code generated PC. The error is thrown by make/gmake command due to two common reasons:
  • The file is missing from the indicated location, for example ,gmake:
*** No rule to make target `F:/C2000Ware_4_00_00_00/driverlib/f28004x/driverlib/clb.c’, needed by ‘clb.obj’
indicates that the driver library files are missing from drive location,ensure copying all the driver library files to the PC where the project is being built.
Another reason could be because model location was changed. Make sure to delete all artifacts and code generation folders (slprj, model_xxx) before you attempt a rebuild.
Hope this information helps you!!

その他の回答 (1 件)

Stefanie Schwarz
Stefanie Schwarz 2024 年 2 月 6 日

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by