1.1K Star 6.1K Fork 5K

OpenHarmony / docs

 / 详情

[问题咨询]: 尝试移植rosserial编译出错

待办的
创建于  
2024-04-15 21:40

问题描述

编译时报错如下:

[OHOS ERROR] riscv32-unknown-elf-ld: ohos/libs/libros_example.a(libros_example.hello_world.o):(.rodata._ZTIN3ros3MsgE[_ZTIN3ros3MsgE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
[OHOS ERROR] riscv32-unknown-elf-ld: ohos/libs/libros_example.a(libros_example.hello_world.o):(.rodata._ZTIN8std_msgs4TimeE[_ZTIN8std_msgs4TimeE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
[OHOS ERROR] riscv32-unknown-elf-ld: ohos/libs/libros_example.a(libros_example.hello_world.o):(.rodata._ZTIN14rosserial_msgs9TopicInfoE[_ZTIN14rosserial_msgs9TopicInfoE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'

请问如何才能通过编译?

评论 (1)

Wu Sen 创建了任务
Wu Sen 添加了
 
question
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @NEEN @zengyawen @时睿 @Peter_1988 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @NEEN @zengyawen @时睿 @Peter_1988 for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662
其他
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs

搜索帮助