Issue with libstdc++.so.6, when starting code generation.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mirhad Hasanovic
le 18 Déc 2022
Modifié(e) : Josh Chen
le 20 Déc 2022
Hi,
i am trying to generate C++-Code using Embedded Coder and ROS-Toolbox. I am using R2022b in Ubuntu 22.04. ROS Distribution is ROS2 Humble.
But after starting code generation, i receive an error like this:
Error using tlc_c
Could not load LoadLibrary error:
Could not load library LoadLibrary error: /usr/local/MATLAB/R2022b/toolbox/ros/bin/glnxa64/../../../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found
I have already seen some earlier posts on familiar issues but they did not help me.
Does anybody here know a solution?
Thanks!
0 commentaires
Réponse acceptée
Josh Chen
le 20 Déc 2022
Modifié(e) : Josh Chen
le 20 Déc 2022
Hello Mirhad,
You may consider updating MATLAB to R2022b Update 2. This issue should be resolved after updating MATLAB.
Besides, noting that the recommanded Linux OS for ROS Toolbox is Ubuntu 20.04 and Debian 11 for R2022b MATLAB (link to ROS Toolbox Requirement). I would recommand to stick to the recommanded version to have a better user experience unless there is a specific reason not to. :)
Hope this helps,
Josh
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Embedded Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!