Skip to content

raspi board build failed #69

Description

@hh-kai

下的release压缩包 直接解压build
image
这个头文件是有的 怎么还是提示缺少 路径也已经包含进去了
而且我在build all 的时候 会出现各种错误
image
这是gcc版本
image

Activity

  1. gozfree commented on Apr 9, 2022

    @gozfree
    Owner

    第一步,先用./build.sh 全部编译一次,会将依赖头文件输出到gear-lib/output/linux//include/gear-lib里,最新的全编是可以pass的
    第二步,sudo ./build.sh install,安装到/usr/local/目录下
    单模块编译,是为了修改某个libxxx库后更新安装的,可以进入到libxxx下make,make install

  2. hh-kai commented on Apr 12, 2022

    @hh-kai
    Author

    下的1.1.19的压缩包 执行./build.sh的结果
    无标题

    树莓派4B 64位官方系统
    image

  3. gozfree commented on Apr 12, 2022

    @gozfree
    Owner

    下的1.1.19压缩包可能比较早,代码有更新,但是版本号没增加,麻烦再更新下:

    如下patch已经修复了编译错误

    commit 66a7df4
    Author: pi-zero gozfree@163.com
    Date: Sun Nov 7 19:55:19 2021 +0800

    libuvc: add cancel fd to quit poll thread
    

    diff --git a/gear-lib/librpc/librpc.c b/gear-lib/librpc/librpc.c
    index 763c1ab..561889e 100644
    --- a/gear-lib/librpc/librpc.c
    +++ b/gear-lib/librpc/librpc.c
    @@ -111,7 +111,7 @@ void print_session(struct rpc_session *ss)
    printf("session.msg_id = 0x%08x\n", ss->msg_id);
    printf("session.timestamp = %" PRIu64 "(%s)\n", ss->timestamp,
    time_str_format_by_msec(ss->timestamp, ts, sizeof(ts)));

    • printf("session.checksum = 0x%08lx\n", ss->cseq);
    • printf("session.checksum = 0x%" PRIx64 "\n", ss->cseq);
      printf("================\n");
      }
  4. hh-kai commented on Apr 13, 2022

    @hh-kai
    Author

    我刚刚直接克隆了一份 然后build.sh
    image

  5. gozfree commented on Apr 13, 2022

    @gozfree
    Owner

    LIST
    更新后再试

  6. hh-kai commented on Apr 14, 2022

    @hh-kai
    Author

    下了最新的 build.sh过了 但是build.sh all linux release失败
    image
    我把这个改了 但是还有其它类似的错误出现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions