필터 지우기
필터 지우기

matlab custom ROS message C++ compiler not supported

조회 수: 8 (최근 30일)
Joshua Eijbersen
Joshua Eijbersen 2023년 5월 25일
댓글: Joshua Eijbersen 2023년 5월 25일
I am trying to add custom ROS messages using rosgenmsg, but there are a couple problems doing this.
I am using matlab R2020b and ROS melodic.
I get an error saying that I need to use a visual studio 2019 C++ compiler. But when i select this compiler, it says it isn't supported, even though at the webpage for ROS toolbox system requirements it says that this should be compatible.
Could someone help me fix this?
Thank you in advance.

답변 (1개)

Josh Chen
Josh Chen 2023년 5월 25일
Hi Joshua,
This is likely related to missing component when installing visual studio 2019. In this post and this post, there are step by step instruction on how to properly install visual studio C++ compiler for use in MATLAB.
Hope this helps,
Thanks,
Josh
  댓글 수: 1
Joshua Eijbersen
Joshua Eijbersen 2023년 5월 25일
I am trying to create custom rosmessages, which isn't supported with visual studio 2019, but it is with visual studio 2017.

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

카테고리

Help CenterFile Exchange에서 Custom Message Support에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by