bazel 本地引入包的方式

d:\Program Files (x86)\Microsoft Visual Studio\2019\Community


bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C:\\_____Soft______\\python3.8.0\\python.exe" mediapipe/examples/desktop/hello_world



file:///C:/Users/peng/Downloads/rules_foreign_cc-0.1.0.zip


   urls = [ "https://github.com/bazelbuild/rules_foreign_cc/archive/0.1.0.zip",
    "file:///C:/Users/peng/Downloads/rules_foreign_cc-0.1.0.zip",
    ],



https://github.com/bazelbuild/rules_swift/releases/download/0.24.0/rules_swift.0.24.0.tar.gz






http_archive(
    name = "rules_swift",
    sha256 = "4f167e5dbb49b082c5b7f49ee688630d69fb96f15c84c448faa2e97a5780dbbc",
    strip_prefix = "rules_swift.0.24.0",
    urls = ["file:///C:/Users/peng/Downloads/rules_swift.0.24.0.tar.gz"],
)




ERROR: An error occurred during the fetch of repository 'build_bazel_apple_suppo
rt':
   Traceback (most recent call last):
        File "C:/users/peng/_bazel_peng/qbgstc4b/external/bazel_tools/tools/buil
d_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://g
ithub.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0
.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/external/build_bazel_apple_suppor
t/temp8846515850834836535/apple_support.0.11.0.tar.gz: connect timed out
ERROR: D:/1hair/mediapipe-master/WORKSPACE:277:25: fetching http_archive rule //
external:build_bazel_apple_support: Traceback (most recent call last):
        File "C:/users/peng/_bazel_peng/qbgstc4b/external/bazel_tools/tools/buil
d_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://g
ithub.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0
.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/external/build_bazel_apple_suppor
t/temp8846515850834836535/apple_support.0.11.0.tar.gz: connect timed out
ERROR: no such package '@build_bazel_apple_support//lib': java.io.IOException: E
rror downloading [https://github.com/bazelbuild/apple_support/releases/download/
0.11.0/apple_support.0.11.0.tar.gz] to C:/users/peng/_bazel_peng/qbgstc4b/extern
al/build_bazel_apple_support/temp8846515850834836535/apple_support.0.11.0.tar.gz
: connect timed out
INFO: Elapsed time: 55.874s
INFO: 0 processes.



http_archive(
    name = "build_bazel_apple_support",
    sha256 = "741366f79d900c11e11d8efd6cc6c66a31bfb2451178b58e0b5edc6f1db17b35",
    urls = [
        "https://github.com/bazelbuild/apple_support/releases/download/0.10.0/apple_support.0.10.0.tar.gz",
        "file:///C:/Users/peng/Downloads/apple_support.0.10.0.tar.gz",
        ],
)




posted @   ldp.im  阅读(1708)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
点击右上角即可分享
微信分享提示