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

44 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by