Resolve " relocation truncated to fit" errors by dynamically allocating large non variable sized arrays with Simulink Coder
Afficher commentaires plus anciens
I have a Simulink model with a MATLAB function block that operates on a very large array. When I build my model and try to compile an executable with the MinGW compiler, I get errors like that shown below:
ERROR: modelName.obj:modelName.c:(.text+0x24): relocation truncated to fit: R_X86_64_PC32 against symbol ‘modelName_DW’ defined in COMMON section in modelName.obj
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Texas Instruments C2000 Processors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!