Obtaining Linux Static Libraries for Cross-Compiling Simulink Coder

4 Ansichten (letzte 30 Tage)
Bruce Rabalais
Bruce Rabalais am 28 Aug. 2020
Kommentiert: Vasco Lenzi am 31 Aug. 2020
I've built a Windows DLL for my Simulink simulation, and it works great. However, I need to create a Linux shared library the same way. When I generate the code using PackNGo and move it to Linux, upon compile I receive many unresolved links. These appear to point to physmod libraries that are present on my Windows machine, but for which I do not have the equivalent Linux libraries. How may I obtain the equivalent libraries for Linux? These libraries are:
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\sm\ssci\lib\win64\SM083E~1.LIB
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\sm\core\lib\win64\sm_vcx64.lib
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\pm_math\lib\win64\PMBBE6~1.LIB
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\simscape\engine\sli\lib\win64\SS1A7D~1.LIB
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\simscape\engine\core\lib\win64\SS8E8F~1.LIB
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\NETWOR~1\lib\win64\ne_vcx64.lib
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\common\math\core\lib\win64\mc_vcx64.lib
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\common\external\library\lib\win64\ex_vcx64.lib
C:\PROGRA~1\MATLAB\R2019a\toolbox\physmod\common\FOUNDA~1\core\lib\win64\pm_vcx64.lib
Thank you!
  1 Kommentar
Vasco Lenzi
Vasco Lenzi am 31 Aug. 2020
Just to clarify: did you try to generate the code for Linux from a Windows installation? Have you tried using the workflow you are using for Windows but for Linux using MATLAB installed on a Linux installation?
We do support MATLAB running on some Linux distro:

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by