Main Content

Troubleshoot Model Links to Shared Libraries

Some model build issues are caused by linking to shared object libraries (.so).

What This Issue Means

When building real-time applications, the Simulink® Real-Time™ software supports links to QNX® Neutrino® static link libraries (.a) only, not links to shared object libraries (.so), unless the shared object is included in the model through an FMU block. Building a real-time application from a model with links to one or more SOs produces a build error.

Try This Workaround

When you build your models, make sure that you link to only static link libraries. When you compile with Simulink Real-Time S-functions, linking to static libraries avoids the dependency issues that occur in shared object libraries. Each static library must be self contained. The static library must not be dependent on another external library.

See Also

Related Topics

External Websites