Hi guys. Please have me with this problem when i try to build samples.
~/isaac$ bazel build //apps/samples/stereo_dummy
Starting local Bazel server and connecting to it...
ERROR: /home/hoang/isaac/WORKSPACE:18:1: Traceback (most recent call last):
File "/home/hoang/isaac/WORKSPACE", line 18
isaac_engine_workspace()
File "/home/hoang/isaac/third_party/engine.bzl", line 20, in isaac_engine_workspace
isaac_new_http_archive(name = "gtest", build_file = clean..."), <5 more arguments>)
File "/home/hoang/isaac/engine/build/isaac.bzl", line 371, in isaac_new_http_archive
native.new_http_archive(**kwargs)
type 'struct' has no method new_http_archive()
ERROR: /home/hoang/isaac/WORKSPACE:20:1: Traceback (most recent call last):
File "/home/hoang/isaac/WORKSPACE", line 20
isaac_packages_workspace()
File "/home/hoang/isaac/third_party/packages.bzl", line 19, in isaac_packages_workspace
isaac_new_http_archive(name = "robotis", build_file = cle..."), <5 more arguments>)
File "/home/hoang/isaac/engine/build/isaac.bzl", line 371, in isaac_new_http_archive
native.new_http_archive(**kwargs)
type 'struct' has no method new_http_archive()
ERROR: /home/hoang/isaac/WORKSPACE:22:1: Traceback (most recent call last):
File "/home/hoang/isaac/WORKSPACE", line 22
isaac_ros_workspace()
File "/home/hoang/isaac/third_party/ros.bzl", line 18, in isaac_ros_workspace
isaac_new_http_archive(name = "isaac_ros_bridge_x86_64", <5 more arguments>)
File "/home/hoang/isaac/engine/build/isaac.bzl", line 371, in isaac_new_http_archive
native.new_http_archive(**kwargs)
type 'struct' has no method new_http_archive()
ERROR: /home/hoang/isaac/WORKSPACE:24:1: Traceback (most recent call last):
File "/home/hoang/isaac/WORKSPACE", line 24
isaac_zed_workspace()
File "/home/hoang/isaac/third_party/zed.bzl", line 19, in isaac_zed_workspace
isaac_new_http_archive(name = "libusb", build_file = clea..."), <5 more arguments>)
File "/home/hoang/isaac/engine/build/isaac.bzl", line 371, in isaac_new_http_archive
native.new_http_archive(**kwargs)
type 'struct' has no method new_http_archive()
ERROR: /home/hoang/isaac/WORKSPACE:43:1: Traceback (most recent call last):
File "/home/hoang/isaac/WORKSPACE", line 43
isaac_new_http_archive(name = "org_lzma_lzma", build_file...", <5 more arguments>)
File "/home/hoang/isaac/engine/build/isaac.bzl", line 371, in isaac_new_http_archive
native.new_http_archive(**kwargs)
type 'struct' has no method new_http_archive()
ERROR: Error evaluating WORKSPACE file
ERROR: error loading package '': Encountered error while reading extension file 'bazel/repositories.bzl': no such package '@com_github_googlecartographer_cartographer//': error loading package 'external': Could not load //external package
ERROR: Skipping '//apps/samples/stereo_dummy': error loading package '': Encountered error while reading extension file 'bazel/repositories.bzl': no such package '@com_github_googlecartographer_cartographer//': error loading package 'external': Could not load //external package
WARNING: Target pattern parsing failed.
ERROR: error loading package '': Encountered error while reading extension file 'bazel/repositories.bzl': no such package '@com_github_googlecartographer_cartographer//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 1.498s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
my bazel version:
~/isaac$ bazel version
Build label: 0.24.1
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Apr 2 16:29:26 2019 (1554222566)
Build timestamp: 1554222566
Build timestamp as int: 1554222566
python an tensor flow version:
~/isaac$ python3 --version
Python 3.6.7
~/isaac$ python3 -c 'import tensorflow as tf; print(tf.__version__)'
1.13.1
Thank you for your help :D