apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Failed to build "bash apollo.sh build

Open vinsenvan opened this issue 9 years ago • 10 comments

image

platform: Ubuntu 14.04 LTS

command: bash apollo.sh build

vinsenvan avatar Jul 27 '17 01:07 vinsenvan

I have try to run "bash apollo.sh clean" before,but it cann‘t solve this problem

vinsenvan avatar Jul 27 '17 01:07 vinsenvan

image now,the apollo.sh build is ok,but I can’t open the page with localhost:8887,what should i do?

vinsenvan avatar Jul 27 '17 05:07 vinsenvan

Build doesn't seem to have succeeded, notice that there was an error above and bazel found 0 target to build. This issue actually has already been fixed, can you pull the latest code and try again?

siyangy avatar Jul 27 '17 07:07 siyangy

default it seem to build succeeded after pull the latest code ,but after i click into Dreamview , it set up 8888 ok, but there wasn't a car in the screem,what should I do? and I wond if it is needed to build "bash apollo.sh build" every times before I run "bash scripts/hmi.sh"?

vinsenvan avatar Jul 31 '17 02:07 vinsenvan

Please refer to https://github.com/ApolloAuto/apollo/blob/master/README.md for a step by step guide. You can run a demo by running rosbag play -l ./docs/demo_guide/demo.bag.

It's not necessary to build unless you have changed some code and want to re-compile.

siyangy avatar Jul 31 '17 02:07 siyangy

image it is ok after running rosbag play -l ./docs/demo_guide/demo.bag, see below: image thank you very much!

vinsenvan avatar Jul 31 '17 03:07 vinsenvan

Hello, I run "bash apollo.sh clean", then run "bash apollo.sh build". but still have the same issue. I want to know how to solve it??? thanks

WintonHuang avatar Aug 02 '17 01:08 WintonHuang

INFO: Found 189 targets... ERROR: /home/winton/.cache/bazel/_bazel_winton/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/BUILD:92:1: undeclared inclusion(s) in rule '@boringssl//boringssl-chromium-stable-with-bazel:crypto': this rule is missing dependency declarations for the following files included by 'external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bcm.c': '/home/winton/.cache/bazel/_bazel_winton/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/aes/aes.c' '/home/winton/.cache/bazel/_bazel_winton/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/aes/key_wrap.c'

WintonHuang avatar Aug 02 '17 01:08 WintonHuang

@siyangy HI, I want to ask a question: If I followed the guide here and it can build/set the apollo successfully at the first time. But if I update the code in the apollo folder by the command below:

git fetch origion git check origin/master git checkout -B master

then I can get the newest update code from the github. But at this time all the files which i download at the time i first set the environment is disappear (Btw: I set the environment in the apollo folder). I know I make some mistakes, but i do not know how to do: if I am not the first time start the appolo simulation, how can i quick start it and how to solve the disappear files problems. Thank you very much.

huangwen0719 avatar Aug 09 '17 01:08 huangwen0719

It's quite hard to follow what you mean here. Can you be more specific about what files are missing and what you mean by 'I set the environment in the apollo folder'? I am also not sure why you ran the three git commands listed. You will get the latest code at master branch after the initial git clone and after that you should do a git pull and build the code again.

siyangy avatar Aug 09 '17 02:08 siyangy