rt_logging.c : fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
13 ビュー (過去 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!