专栏算法工具链模块[communication]编译报错

模块[communication]编译报错

已解决
默认444162024-07-04
52
2

模块:communication

编译环境:提供的docker镜像


1)采用提供的docker镜像环境,编译模块communication源码,总是出现如下conan错误,应该怎么处理。

错误如下:

root@3f2bb14d1a84:~/communication-cpf/build# conan install .. bole/stable -pr linux

Configuration:

[settings]

arch=x86_64

build_type=Release

compiler=gcc

compiler.libcxx=libstdc++11

compiler.version=5.4

os=Linux

[options]

[build_requires]

[env]


[communication][conan] require perfetto

ERROR: Version range '1.7.x' from requirement 'message/[1.7.x]@bole/stable' required by 'conanfile.py (communication/1.10.5@bole/stable)' could not be resolved in local cache


2)困惑,模块源码编译,需要SDK吗,和SDK有关系吗

算法工具链
技术深度解析
评论1
0/1000
  • TROS.Assist
    Lv.3

    源码编译依赖第三方库,SDK会将依赖库都打包发布,安装SDK的本地库后,编译就会在本地查找这些已经安装的三方库,但是SDK也只会SDK中打包的三方库,也就是你的源码只能编译安装过后的对应版本。

    例如你的SDK是1.5.6,那你的源码就只能编译1.5.6,你的报错很明显是本地安装版本不匹配,需要去远程下载三方库,但是目前conan只能在内网中才能下载,你想要解决的话只能看能否获取到缺少的三方库,自己本地安装,获取方法需要找你源码的提供方。

    2024-07-05
    1
    1
    • 默认44416回复TROS.Assist:

      已解决,感谢解答。


      2024-07-08
      0