Code: Select all
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 33 Column: 10
Unable to open %include file dsPIC_srmain.tlc
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 34 Column: 10
Unable to open %include file dsPIC_mrmain.tlc
### Writing main
--- Multi Rate & Single Tasking implementation
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 45 Column: 3
Attempt to call a non-function value: FcnSingleTaskingMain
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 45 Column: 23
Values of NULL type cannot be expanded
The full output during compilation is below:
Code: Select all
### Checking the status of model reference RTW target for model 'controller' used in 'code_gen'
### Model reference RTW target (controller_rtwlib.lib) for model controller is out of date because controller_rtwlib.lib does not exist
### Updating model reference RTW target for model: controller
### Generating code into build directory: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller
Warning: Parameter precision loss occurred for 'Value'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/Rudder Command/Constant1'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/Rudder Command/Gain1'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/Rudder Command/Heading Control/Angle
Conversion/Unit Conversion'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/Rudder Command/Heading Control/Angle
Conversion1/Unit Conversion'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/State Keeper & Estimator/GPS
Estimator/Forces & Moments/Divide by wheelbase'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/State Keeper & Estimator/GPS
Estimator/Gain'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/State Keeper & Estimator/GPS
Estimator/Outputs/Convert to acceleration'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/State Keeper & Estimator/GPS
Estimator/Subsystem/Angle Conversion/Gain'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/State Keeper & Estimator/GPS
Estimator/Subsystem/Gain'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/State Keeper & Estimator/GPS
Estimator/Subsystem/Reorder/Angle Conversion/Gain'.
Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the
run-time data type. A small quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the
Configuration Parameters dialog. This originated from 'controller/Autonomous Controller/State Keeper & Estimator/GPS
Estimator/Subsystem/Reorder/Angle Conversion1/Gain'.
Warning: Model reference Accelerator, SIL and PIL modes do not support data logging via To-Workspace blocks and Scope blocks
that are configured to save data to the workspace. Model 'controller' contains To-Workspace or Scope blocks with data
logging option turned on. Data is not being logged to workspace when this model is referenced using Accelerator (or SIL or
PIL) simulation mode. To turn off the reporting of this message, set 'Unsupported data logging' parameter on the 'Model
Referencing' group of the Diagnostics page of the Configuration Parameters to 'none'
### Invoking Target Language Compiler on controller.rtw
### Using System Target File: C:\Users\Bryant\Documents\MATLAB\Lubin_Blockset\dspic\dspic.tlc
### Loading TLC function libraries
.......
### Initial pass through model to cache user defined code
....
### Caching model source code
............................................................
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 33 Column: 10
Unable to open %include file dsPIC_srmain.tlc
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 34 Column: 10
Unable to open %include file dsPIC_mrmain.tlc
### Writing main
--- Multi Rate & Single Tasking implementation
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 45 Column: 3
Attempt to call a non-function value: FcnSingleTaskingMain
Error: File: C:\Users\Bryant\Projects\Autoboat\Code\basic_model\slprj\dspic\controller\tmwinternal\tlc\dsPIC_main.tlc Line: 45 Column: 23
Values of NULL type cannot be expanded
### Writing source file controller.c
### Writing header file controller_private.h
.
### Writing header file controller.h
### Writing header file controller_types.h
### Writing header file rt_MAXf_snf.h
.
### Writing header file rt_MAXd_snf.h
### Writing header file rt_MINf_snf.h
### Writing header file rt_SATURATE.h
.
### Writing header file rt_SIGNf_snf.h
### Writing header file rt_SIGNd_snf.h
### Writing source file controller_data.c
.
### TLC code generation complete.
.### Real-Time Workshop build procedure for model: 'controller' aborted due to an error.
--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.