Help with code build errors - ert_shrlib.tlc target file Device: intel X86-64 (Windows64)
Afficher commentaires plus anciens
Hello,
I have generated code successfully for a Simulink model containting "fmincon" function from optimization toolbox. Now I want to compile it for hardware implementation with the following settings
- Device: Intel
- Device type: x86-64(Windows64)
- System target file: ert_shrlib.tlc
- Build process (both options unchecked)
However, the build fails due to bunch of syntax errors in "mmintrin.h" file. Here is one of the errors as an example
error: mmintrin.h: 27 Syntax error; missing semicolon before `__attribute__'
I've checked the code and I don't see any issues with syntaxes (following are the lines of code with errors)
typedef long long __m64 __attribute__((__vector_size__(8)));
typedef long long __v1di __attribute__((__vector_size__(8)));
typedef int __v2si __attribute__((__vector_size__(8)));
typedef short __v4hi __attribute__((__vector_size__(8)));
typedef char __v8qi __attribute__((__vector_size__(8)));
I appreciate your help with identifying the source of error.
1 commentaire
Varun
le 23 Jan 2024
Hey! This could be a compiler issue. Which C++ compiler are you using?
Réponses (0)
Catégories
En savoir plus sur Embedded Coder 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!