Help with code build errors - ert_shrlib.tlc target file Device: intel X86-64 (Windows64)
이전 댓글 표시
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
Varun
2024년 1월 23일
Hey! This could be a compiler issue. Which C++ compiler are you using?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Embedded Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!