bits/libc-​header-sta​rt.h: No such file or directory

21 ビュー (過去 30 日間)
Javier
Javier 2023 年 4 月 3 日
回答済み: Muskan 2023 年 4 月 21 日
In Simulink, I created an S-Function Builder for the C code purposes. When I run the model, I had the problem
I already installed the 32-bit and 64-bit headers and libraries. The -m32 is telling gcc to compile for a 32-bit platform. On a 64-bit machine, gcc normally only comes with 64-bit libraries.

回答 (1 件)

Muskan
Muskan 2023 年 4 月 21 日
Hi Ali,
As per my understanding of the question, you can install gcc-multilib package when using -m32 (needed for gcc or clang). For C++, g++-multilib is also required.
Thanks

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by