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 Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by