导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    使用TinaSDK编译helloWorld时报错arm-openwrt-linux-muslgnueabi-gcc.bin: fatal error: environment variable 'STAGING_DIR' not defined compilation terminated.

    Linux
    1
    1
    1277
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • X
      xiyu_dang LV 2 最后由 编辑

      在已经将Tina的SDK下载解压完成后,将交叉编译器的路径以及加入到全局环境变量中 (~/.bashrc ,
      /etc/profile , /etc/environment ,/etc/bash.bashrc)都试了,也source的情况下。
      使用柚木pi-蜥蜴测试helloWorld时,出现错误arm-openwrt-linux-muslgnueabi-gcc.bin: fatal error: environment variable 'STAGING_DIR' not defined compilation terminated.
      将交叉编译器的路径赋值为'STAGING_DIR'后就能正常执行,但是这个'STAGING_DIR'只对当前终端有效,关闭之后再打开的新的终端输入arm-,然后按tab补全的时候不能补全,感觉像是环境变量失效了。

      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策