Obtaining Linux Static Libraries for Cross-Compiling Simulink Coder

조회 수: 4 (최근 30일)
Bruce Rabalais
Bruce Rabalais 2020년 8월 28일
댓글: Vasco Lenzi 2020년 8월 31일
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
Vasco Lenzi
Vasco Lenzi 2020년 8월 31일
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:

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by