フィルターのクリア

Hello, I need to run the command "rosgenmsg"

6 ビュー (過去 30 日間)
Mario Cervantes Hernandez
Mario Cervantes Hernandez 2023 年 11 月 3 日
回答済み: Umang Pandey 2023 年 11 月 30 日
Hello, I need to run the command "rosgenmsg". I am using Windows 10, Visual Studio 2017, Python 2.7.18 and Cmake 3.15.5 as Matlab recommends for each version.
but I have the following error:
[1/1] Generating MATLAB interfaces for custom message packages... Done.
Running catkin build in folder 'C:/Users/username/Documents/Hexa2023/matlab_msg_gen_ros1/win64'.
Build in progress. This may take several minutes...Error using ros.internal.ROSProjectBuilder/buildPackage (line 552)
Error building package: build log.
Error in rosgenmsg (line 483)
buildPackage(builder, [], 'install', catkinMakeArgs); %other messages might need to be present in the same directory
  1 件のコメント
Himanshu
Himanshu 2023 年 11 月 15 日
Hey,
I understand that you are an encountering an error while running the function ‘rosgenmsg’. This error might occur due to various reasons. It would be helpful if you share the build log to help identify the exact reason for the error.

サインインしてコメントする。

回答 (1 件)

Umang Pandey
Umang Pandey 2023 年 11 月 30 日
Hi Mario,
I understand that you are encountering an error while running the “rosgenmsg” function.
To effectively diagnose and address the error, it would be beneficial to examine the build log, which is crucial for identifying the specific cause of the build process failure.
However, you can refer the following MATLAB answer that addresses a similar problem and provides a workaround for it:
Hope this helps.
Best,
Umang

カテゴリ

Help Center および File ExchangeCustom Message Support についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by