Error during makefile for compilation process
Show older comments
Hello, I get compilation error after generating code as given below. The error is persistent even after changing options in configuration parameters-> hardware implementation -> embedded hardware (code generation).
1)
""" Source/..../filename.c #error "code was generated for compiler with different sized ushort/short. Consider adjusting emulation hardware word size settings on Hardware implementation pane... """"
2)
""" Source/..../filename_private.h #error "code was generated for compiler with different sized ushort/short. Consider adjusting emulation hardware word size settings on Hardware implementation pane... """"
The error persists even after making changes to the settings. Need a little help in understanding this code generation toolbox as I'm new to it.
5 Comments
Kaustubha Govind
on 17 May 2013
What is the Device vendor/type that you have configured? If you have asked for the code to be compiled with a host compiler (like Visual Studio or gcc), you might want to use the Generic settings.
Kaustubha Govind
on 17 May 2013
What is the Device vendor/type that you have configured? If you have asked for the code to be compiled with a host compiler (like Visual Studio or gcc), you might want to use the Generic settings.
Kaustubha Govind
on 17 May 2013
What is the Device vendor/type that you have configured? If you have asked for the code to be compiled with a host compiler (like Visual Studio or gcc), you might want to use the Generic settings.
Abhinav
on 17 May 2013
Abhinav
on 17 May 2013
Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!