你的包需要依赖其他包吗,检查一下xml文件中的description 查看一下
MATLAB2020b生成msg时报错
12 次查看(过去 30 天)
显示 更早的评论
MATLAB命令窗口提示错误为:
Build in progress. This may take several minutes...错误使用 ros.internal.ROSProjectBuilder/buildPackage (第 534 行)
Error building package: build log.
出错 rosgenmsg (第 377 行)
buildPackage(builder, [], 'install', catkinMakeArgs); %other messages might need to be present in
the same directory
打开错误日志记录为:
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.44
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86_x64'
Base path: E:\message\matlab_msg_gen_ros1\win64
Source space: E:\message\matlab_msg_gen_ros1\win64\src
Build space: E:\message\matlab_msg_gen_ros1\win64\build
Devel space: E:\message\matlab_msg_gen_ros1\win64\devel
Install space: E:\message\matlab_msg_gen_ros1\win64\install
Error(s) in package 'E:\message\matlab_msg_gen_ros1\win64\src\mf_msgs\package.xml':
The manifest contains invalid XML:
not well-formed (invalid token): line 1, column 12
希望有人能帮忙解答下,谢谢!
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specialized Messages 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!