Simulink Real-Time Desktop Ethernet Protocol Libraries Missing

When building my model I'm trying to get raw ethernet packets but I get the error:
  • _There are pre-compiled libraries missing from the TargetPreCompLibLocation:
C:\Program Files\MATLAB\R2015a\toolbox\sldrt\lib\win64
missing libraries:
C:\Program Files\MATLAB\R2015a\toolbox\sldrt\lib\win64\nblib_sldrt.lib
C:\Program Files\MATLAB\R2015a\toolbox\sldrt\lib\win64\etherlib_sldrt.lib
C:\Program Files\MATLAB\R2015a\toolbox\sldrt\lib\win64\ether8255x_sldrt.lib
C:\Program Files\MATLAB\R2015a\toolbox\sldrt\lib\win64\etherGbE_sldrt.lib_ *
Does anyone know I can find these?
Many thanks
Craig

Answers (1)

Hello Craig,
I think you need to specify the location of the precompiled libraries probably because you might be compiling for a custom target.
The default precompiled library location is already specified in the rtwmakecfg.m file. However, for some applications, such as custom targets, it is preferable to locate the precompiled libraries in a target-specific or other alternate location rather than in the location specified in rtwmakecfg.m.
For a custom target, the library is expected to be created using the target-specific cross-compiler and placed in the target-specific location for use during the Simulink Coder build process. Libraries intended to be supported by the target should be compiled and placed in the target-specific location.
The following documentation explains more about this parameter and how to specify the location of precompiled libraries.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 19 May 2015

Moved:

on 5 Aug 2025

Community Treasure Hunt

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

Start Hunting!