您尚未登录。

楼主 # 2023-12-17 16:21:12

qmycy
会员
注册时间: 2023-12-15
已发帖子: 1
积分: 1

ubuntu 22.04 编译全志D1s SDK 出现错误,求帮助

在cmake编译这一块
[/usr/bin/ld: cmcmd.o: in function `cmcmd::ExecuteLinkScript(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':
cmcmd.cxx:(.text+0x54b0): undefined reference to `cmsysProcess_New'
/usr/bin/ld: cmcmd.cxx:(.text+0x550f): undefined reference to `cmsysProcess_SetPipeShared'
/usr/bin/ld: cmcmd.cxx:(.text+0x5528): undefined reference to `cmsysProcess_SetPipeShared'
/usr/bin/ld: cmcmd.cxx:(.text+0x5541): undefined reference to `cmsysProcess_SetOption'
/usr/bin/ld: cmcmd.cxx:(.text+0x568d): undefined reference to `cmsysProcess_SetCommand'
/usr/bin/ld: cmcmd.cxx:(.text+0x56d0): undefined reference to `cmsysProcess_Execute'
/usr/bin/ld: cmcmd.cxx:(.text+0x56e4): undefined reference to `cmsysProcess_WaitForExit'
/usr/bin/ld: cmcmd.cxx:(.text+0x56f3): undefined reference to `cmsysProcess_GetState'
/usr/bin/ld: cmcmd.cxx:(.text+0x5723): undefined reference to `cmsysProcess_GetExitValue'
/usr/bin/ld: cmcmd.cxx:(.text+0x5772): undefined reference to `cmsysProcess_GetExceptionString'
/usr/bin/ld: cmcmd.cxx:(.text+0x57c6): undefined reference to `cmsysProcess_GetErrorString'
/usr/bin/ld: cmcmd.cxx:(.text+0x5845): undefined reference to `cmsysProcess_Delete'
]
是链接出现问题,请问是少了什么库?

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn