rt_logging.c : fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello all,
I use CANOE API in Simulink and build my model with system target file cn.tlc. But it always occurs include file errors during building progress. For example, following error occurs:
D:\MATLAB\rls2017b\rtw\c\src\rt_logging.c(21): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
But if I change the include file path with absolute path, the problem is solved. But another error is created, because other include file is included in code, for example #include <string.h>.
It seems that the link between compiler and head file is invalid. How can I fix this, thanks a lot!
PS: Matlab version is 2017b and compiler is Visual Studio 2017 professional.
댓글 수: 0
답변 (1개)
Stefanie Schwarz
2025년 6월 17일
For build errors about missing standard headers with Visual Studio, see:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!