gmake: *** No rule to make target
I created a Simulink model and I am trying to upload to an Arduino, but I keep getting this error:
### Invoking Target Language Compiler on Pixy2CameraModel1.rtw
### Using System Target File: c:appsmatlab2017artwcertert.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
.
### Caching model source code
### Writing header file Pixy2CameraModel1.h
### Writing header file Pixy2CameraModel1_types.h
.
### Writing header file rtwtypes.h
### Writing source file Pixy2CameraModel1.c
### Writing header file Pixy2CameraModel1_private.h
### Writing source file ert_main.c
### TLC code generation complete.
### Creating HTML report file Pixy2CameraModel1_codegen_rpt.html
### Invoking custom build hook: CodeGenBeforeMake
### Using toolchain: Arduino AVR v1.6.13 | gmake (64-bit Windows)
### ‘W:DesktopPixy2TrialPixy2CameraModel1_ert_rtwPixy2CameraModel1.mk’ is up to date
### Building ‘Pixy2CameraModel1’: "C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk all
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>cd .
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>if "" == "" ("C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk all ) else ("C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk )
gmake: *** No rule to make target `W:/Desktop/Pixy2Trial/blocks/src/Pixy2Cam.cpp’, needed by `Pixy2Cam.o’. Stop.
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>An_error_occurred_during_the_call_to_make
‘An_error_occurred_during_the_call_to_make’ is not recognized as an internal or external command,
operable program or batch file.
### Build procedure for model: ‘Pixy2CameraModel1’ aborted due to an error.
Error(s) encountered while building "Pixy2CameraModel1":
### Failed to generate all binary outputs.
Component:Simulink | Category:Block diagram errorI created a Simulink model and I am trying to upload to an Arduino, but I keep getting this error:
### Invoking Target Language Compiler on Pixy2CameraModel1.rtw
### Using System Target File: c:appsmatlab2017artwcertert.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
.
### Caching model source code
### Writing header file Pixy2CameraModel1.h
### Writing header file Pixy2CameraModel1_types.h
.
### Writing header file rtwtypes.h
### Writing source file Pixy2CameraModel1.c
### Writing header file Pixy2CameraModel1_private.h
### Writing source file ert_main.c
### TLC code generation complete.
### Creating HTML report file Pixy2CameraModel1_codegen_rpt.html
### Invoking custom build hook: CodeGenBeforeMake
### Using toolchain: Arduino AVR v1.6.13 | gmake (64-bit Windows)
### ‘W:DesktopPixy2TrialPixy2CameraModel1_ert_rtwPixy2CameraModel1.mk’ is up to date
### Building ‘Pixy2CameraModel1’: "C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk all
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>cd .
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>if "" == "" ("C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk all ) else ("C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk )
gmake: *** No rule to make target `W:/Desktop/Pixy2Trial/blocks/src/Pixy2Cam.cpp’, needed by `Pixy2Cam.o’. Stop.
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>An_error_occurred_during_the_call_to_make
‘An_error_occurred_during_the_call_to_make’ is not recognized as an internal or external command,
operable program or batch file.
### Build procedure for model: ‘Pixy2CameraModel1’ aborted due to an error.
Error(s) encountered while building "Pixy2CameraModel1":
### Failed to generate all binary outputs.
Component:Simulink | Category:Block diagram error I created a Simulink model and I am trying to upload to an Arduino, but I keep getting this error:
### Invoking Target Language Compiler on Pixy2CameraModel1.rtw
### Using System Target File: c:appsmatlab2017artwcertert.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
.
### Caching model source code
### Writing header file Pixy2CameraModel1.h
### Writing header file Pixy2CameraModel1_types.h
.
### Writing header file rtwtypes.h
### Writing source file Pixy2CameraModel1.c
### Writing header file Pixy2CameraModel1_private.h
### Writing source file ert_main.c
### TLC code generation complete.
### Creating HTML report file Pixy2CameraModel1_codegen_rpt.html
### Invoking custom build hook: CodeGenBeforeMake
### Using toolchain: Arduino AVR v1.6.13 | gmake (64-bit Windows)
### ‘W:DesktopPixy2TrialPixy2CameraModel1_ert_rtwPixy2CameraModel1.mk’ is up to date
### Building ‘Pixy2CameraModel1’: "C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk all
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>cd .
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>if "" == "" ("C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk all ) else ("C:appsMATLAB~2binwin64gmake" -f Pixy2CameraModel1.mk )
gmake: *** No rule to make target `W:/Desktop/Pixy2Trial/blocks/src/Pixy2Cam.cpp’, needed by `Pixy2Cam.o’. Stop.
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
W:DesktopPixy2TrialPixy2CameraModel1_ert_rtw>An_error_occurred_during_the_call_to_make
‘An_error_occurred_during_the_call_to_make’ is not recognized as an internal or external command,
operable program or batch file.
### Build procedure for model: ‘Pixy2CameraModel1’ aborted due to an error.
Error(s) encountered while building "Pixy2CameraModel1":
### Failed to generate all binary outputs.
Component:Simulink | Category:Block diagram error matlab, simulink MATLAB Answers — New Questions